-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalc.css
56 lines (48 loc) · 831 Bytes
/
calc.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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f2f2f2;
}
.calculator {
border: 1px solid #ccc;
border-radius: 5px;
/* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); */
padding: 12px;
background-color: #fff;
}
.calc-head{
font-size: 22px;
font-weight: 500;
}
.bi-list{
margin-right: 15px;
}
#calc-display {
width: 100%;
font-size: 24px;
/* padding: 5px; */
margin: 15px 0px;
border: none;
text-align: end;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 5px;
}
button {
font-size: 20px;
padding: 10px;
cursor: pointer;
}
button:hover {
background-color: #ddd;
}
.mod{
font-size: x-small;
margin: 0;
color: #797979;
}