-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
124 lines (104 loc) · 2.05 KB
/
Copy pathstyles.css
File metadata and controls
124 lines (104 loc) · 2.05 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
body{
background-color: lightgoldenrodyellow;
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 50px;
}
.title{
font-size: 60px;
font-family: 'Prompt', sans-serif;
}
.calculator{
display: grid;
grid-template-columns: auto auto auto auto;
width: 400px;
height: 500px;
justify-content: center;
align-items: center;
row-gap: 10px;
column-gap: 25px;
background-color: bisque;
border: 4px solid brown;
border-radius: 10px;
font-size: 20px;
font-family: 'Tilt Prism', cursive;
font-weight: bold;
}
#display {
margin-top: 20px;
grid-area: 1 / 1 / 2 / 5;
width: 300px;
height: 50px;
font-size: 20px;
font-family: 'Tilt Prism', cursive;
font-weight: bold;
}
.btn{
display: flex;
justify-content: center;
align-items: center;
height: 50px;
width: 50px;
border: 2px solid yellow;
box-shadow: 0 0 4px black;
background-color: lightgoldenrodyellow
}
.btn:active{
height: 49px;
width: 49px;
box-shadow: 0 0 0px black;
}
.cancel{
grid-area: 2 / 1 / 3 / 2
}
.delete{
grid-area: 2 / 2 / 3 / 3;
}
.decimal {
grid-area: 2 / 3 / 3 / 4;
}
.multiply {
grid-area: 2 / 4 / 3 / 5;
}
.divide{
grid-area: 3 / 4 / 4 / 5;
}
.minus{
grid-area: 4 / 4 / 5 / 5;
}
.add {
grid-area: 5 / 4 / 6 / 5;
}
.equal{
display: flex;
text-align: center;
justify-content: center;
grid-area: 6 / 3 / 7 / 5;
height: 50px;
width: 125px;
margin-bottom: 20px;
}
.zero{
display: flex;
text-align: center;
justify-content: center;
grid-area: 6 / 1 / 7 / 3;
height: 50px;
width: 125px;
margin-left: 5px;
margin-bottom: 20px;
}
.zero:active{
height: 49px;
width: 124px;
box-shadow: 0 0 0px black;
}
.equal:active{
height: 49px;
width: 124px;
box-shadow: 0 0 0px black;
}