-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalculator.css
More file actions
60 lines (47 loc) · 1004 Bytes
/
calculator.css
File metadata and controls
60 lines (47 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
* {
box-sizing: border-box;
}
body {
background-color: #CFBAE1;
}
#calculator-header {
text-align: center;
font-family: 'Honk';
font-size: 50px;
}
#calculator-container {
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 20px;
}
.calculator-button {
width: 60px;
height: 50px;
font-size: 1.5rem;
margin-bottom: 10px;
margin-right: 10px;
}
#result-output {
width: 350px;
height: 70px;
margin-top: 10px;
/* border-radius: 10px; Add this line to create rounded borders */
}
#input-buttons {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 5px;
margin: 10px;
padding-left: 10px;
}
#button-dot, #button0, #button1, #button2, #button3, #button4, #button5, #button6, #button7, #button8, #button9 {
background-color: blanchedalmond;
border-radius: 10px;
}
#button-clear {
background-color: #EA526F;
}
#button-equals {
background-color: #C9F299;
}