-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
62 lines (57 loc) · 1.06 KB
/
calculator.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
body {
height: 97vh;
width: 97vw;
}
#calculator {
position: relative;
margin: auto;
top: 5%;
height: 90%;
width: 40%;
border: 2px solid black;
}
#screen {
display: flex;
position: relative;
margin: auto;
top: 2%;
height: 15%;
width: 80%;
justify-content: right;
align-items: center;
font-size: 4rem;
overflow: hidden;
border: 2px solid black;
}
#clear-button {
display: flex;
position: relative;
top: 4%;
height: 10%;
width: 80%;
margin: auto;
justify-content: center;
align-items: center;
font-size: 2rem;
}
#button-grid {
position: relative;
display: grid;
top: 8%;
margin: auto;
grid-template-columns: 21% 5% 21% 5% 21% 5% 21%;
grid-template-rows: 21% 5% 21% 5% 21% 5% 21%;
height: 65%;
width: 96%;
border: 2px solid black ;
}
.number-button {
display: flex;
grid-column-start: 1;
grid-column-end: 1;
grid-row-start: 1;
grid-row-end: 1;
justify-content: center;
align-items: center;
font-size: 3rem;
}