-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathmain.css
More file actions
64 lines (61 loc) · 854 Bytes
/
main.css
File metadata and controls
64 lines (61 loc) · 854 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.calculator {
flex: 0 0 95%;
}
.screen {
width: 100%;
font-size: 7rem;
padding: 0.5rem;
background: rgb(41, 41, 56);
color: white;
border: none;
text-align: right;
}
.small {
font-size: 2rem;
}
.buttons {
display: flex;
flex-wrap: wrap;
transition: all 0.5s linear;
}
button {
flex: 0 0 25%;
border: 1px solid black;
padding: 0.25rem 0;
transition: all 2s ease;
}
button:hover {
background: blue;
}
.btn-yellow {
background: rgb(245, 146, 62);
color: white;
}
.btn-grey {
background: rgb(224, 224, 224);
}
.btn,
.btn-equal,
.btn-clear {
font-size: 4rem;
}
.btn-equal {
background: green;
}
.btn-clear {
background: red;
}
.hide {
display: none;
}