-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
67 lines (59 loc) · 978 Bytes
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
#calculator {
display: flex;
flex-wrap: wrap;
width: 350px;
height: 450px;
color: white;
background-color: black;
}
#display {
display: flex;
align-items: center;
font-size: 50px;
background-color: gray;
width: 350px;
height: 100px;
border: 1px solid white;
}
#numbers {
border: 1px solid;
display: grid;
grid-template-columns: 66.6px 66.6px 66.6px;
align-content: start;
width: 200px;
height: 500px;
}
#numbers span {
text-align: center;
width: 66.6px;
height: 66.6px;
font-size: 40px;
border: 1px solid white;
}
#functions {
border: 1px solid;
width: 150px;
height: 250px;
display: grid;
}
#functions span {
text-align: center;
border: 1px solid white;
text-align: center;
font-size: 40px;
}
#equal-clear {
width: 140px;
border: 1px solid white;
}