-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
72 lines (62 loc) · 927 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
63
64
65
66
67
68
69
70
71
72
*,
::after,
::before {
box-sizing: border-box;
}
html {
background-color: rgb(238, 238, 207);
font-family: monospace;
color: white;
}
body {
margin: 0 auto;
width: 90 vw;
height: 90vh;
}
header {
position: relative;
background-color: rgb(63, 97, 209);
padding: 4rem 2rem 2rem;
margin: 0 auto;
}
h1,
p {
padding-left: 5%;
}
button {
font: inherit;
position: absolute;
right: 10%;
top: 35%;
border: 0;
height: 5rem;
width: 10rem;
box-shadow: 0.5rem 0.5rem black;
}
main {
position: relative;
height: 60vh;
}
.counter-block {
display: flex;
width: 100%;
height: 120%;
}
.counter {
color: black;
font-size: 10rem;
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
}
.left-block {
background-color: rgb(47, 47, 225);
width: 0;
height: 100%;
}
.right-block {
background-color: rgb(26, 26, 202);
width: 100%;
height: 100%;
}