-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
62 lines (62 loc) · 947 Bytes
/
style.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
*,
::before,
::after {
margin: 0;
padding: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
main {
display: grid;
align-items: center;
justify-content: center;
text-align: center;
background-color: beige;
width: 400px;
padding: 140px 0;
border-radius: 16px;
}
main p {
font-size: 25px;
background-color: #ffffff;
border-radius: 10px;
padding: 5px 0;
margin-bottom: 30px;
margin-top: -50px;
z-index: 1;
visibility: hidden;
}
.show {
visibility: visible;
}
main h1 {
font-size: 75px;
margin: 15px 0;
}
main button {
padding: 5px 8px;
font-size: 20px;
border-radius: 7px;
margin: 15px 2px;
box-shadow: none;
outline: none;
border: 1px solid #f1f1f1;
color: #ffffff;
transition: 0.3s;
}
main button:hover {
opacity: 0.7;
}
.increase {
background-color: green;
}
.reset {
background-color: red;
}
.decrease {
background-color: blue;
}