-
Notifications
You must be signed in to change notification settings - Fork 0
/
timer.css
72 lines (62 loc) · 1.32 KB
/
timer.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
@font-face {
font-family: 'dig';
src: url('./fonts/dig-regular.woff') format('WOFF');
font-weight: bold;
font-style: normal;
font-display: swap;
}
.background{
z-index: -1;
position: absolute;
width: 100%;
height: 100%;
background-image: url(./img/Desktop_00001.jpg);
background-position-y: -20rem;
}
.timer-container{
position: relative;
background-color: hsla(0,100%,0%,.55);
display: flex;
align-items: center;
justify-content: space-around;
height: 13rem;
}
.timer-container-title{
position: absolute;
top: -.5rem;
font-family: 'dig';
color: hsla(0, 0%, 80%, 1);
font-size: 2rem;
}
.timer-item{
display: inline-flex;
position: relative;
min-width: 4rem;
color: hsla(0, 0%, 80%, 1);
justify-content: center;
align-items: center;
text-align: center;
font-size: 3rem;
font-family: 'dig';
top: 1.5rem;
}
.timer-number{
border-bottom: .5px solid hsla(0, 0%, 80%, .8);
padding-bottom: 1.5rem;
width: 100%;
transform: scaleY(1.5);
}
.timer-item::after{
font-size: 1rem;
position: absolute;
bottom: -.6rem;
}
.timer-item:nth-child(2)::after{
content: 'Dias';
}
.timer-item:nth-child(3)::after{
content: 'Horas';
}
.timer-item:nth-child(4)::after{
content: 'Min';
}