-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
68 lines (60 loc) · 1.09 KB
/
style.css
File metadata and controls
68 lines (60 loc) · 1.09 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
body{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: #1c1b1b;
}
h1{
color: white;
}
.calculator{
background-color: white;
width: 300px;
border-radius: 10px;
padding: 20px;
}
#display{
width: 100%;
box-sizing: border-box;
height: 60px;
border: none;
border-radius: 6px;
background-color: #a8a8a8;
text-align: right;
font-size: 20px;
margin-bottom: 16px;
color: #000;
font-weight: bold;
}
.box-buttons{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
gap: 10px;
}
button{
font-weight: bold;
background-color: #a8a8a8;
border: none;
height: 60px;
border-radius: 6px;
font-size: 20px;
}
button:hover{
cursor: pointer;
background-color: #e1e1e1;
transition: .4s;
}
.btn-zero{
grid-column: 1 / 3;
}
.btn-result{
grid-row: 4 / 6;
height: 100%;
grid-column: 4;
}