-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
79 lines (68 loc) · 1.12 KB
/
styles.css
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.calculator {
position: relative;
top: 70px;
font-size: 20px;
height: 700px;
width: 550px;
margin: auto;
background: darkgrey;
border-radius: 25px;
}
.display {
width: 500px;
height: 80px;
background-color: white;
margin: auto;
text-align: right;
position: relative;
top: 40px;
border-radius: 10px;
}
.displayText {
font-size: 50px;
position: relative;
top: 8px;
right: 5px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(5, 1fr);
height: 500px;
width: 500px;
margin: auto;
position: relative;
top: 80px;
}
.zero {
grid-column-start: 1;
grid-column-end: 3;
}
.selected {
background-color: bisque;
}
.backspace-img {
width: 30px;
height: 30px;
opacity: 0.7;
}
button {
font-size: 30px;
background-color: white;
}
.operator {
background-color: red;
color: white;
}
.number {
background-color: navy;
color: white;
}
.zero {
background-color: white;
color: black;
}
.divide {
background-color: white;
color: black;
}