-
Notifications
You must be signed in to change notification settings - Fork 328
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (77 loc) · 1.43 KB
/
style.css
File metadata and controls
91 lines (77 loc) · 1.43 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
* {
margin: 0px;
padding: 0px;
}
body {
background-color: #d8f8ff;
font-family: sans-serif;
margin: 50px;
}
#counter-value {
padding: 40px 0;
margin: 50px 0;
background-image: linear-gradient(45deg, #a4f2f2, #efa7d7);
text-align: center;
}
#counter-value p {
color: white;
font-weight: bold;
font-size: 1.2rem;
letter-spacing: 0.5rem;
word-spacing: 1rem;
}
#input-range {
display: flex;
justify-content: space-around;
margin-top: 50px;
}
#input-range input {
padding: 10px;
width: 30%;
font-size: 1rem;
}
#input-range button {
padding: 10px 15px;
font-size: 1rem;
border: none;
box-shadow: 0px 5px 20px white;
border-radius: 20px;
font-weight: bold;
cursor: pointer;
}
#counter-container {
background-color: #555555;
height: 200px;
width: 80%;
margin: auto;
display: flex;
justify-content: center;
}
.counter {
display: inline-block;
background-color: aliceblue;
width: 15%;
max-width: 80px;
height: 80px;
margin: auto 10px;
box-shadow: 0px 0px 5px white;
position: relative;
overflow: hidden;
}
.counter p {
font-size: 3rem;
text-align: center;
margin: 0;
width: 100%;
line-height: 80px;
border-top: 2px solid black;
background-color: aliceblue;
}
p.next {
position: absolute;
top: 80px;
}
p.animate {
transition-duration: 0.5s;
top: 0px;
}