-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
95 lines (80 loc) · 1.54 KB
/
styles.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
h1 {
text-align: center;
font-family: 'Rubik', sans-serif;
}
p {
font-family: 'Roboto', sans-serif;
text-align: center;
max-width: 100%;
}
/*tentativa de animação mal-sucedida
[data-anime] {
opacity: 0;
transition: .3s;
}
[data-anime="top"] {
transform: translate3d(0, -50px, 0);
}
[data-anime].animate {
opacity: 1;
transform: translate3d(0px, 0px, 0px);
}
*/
.final {
text-decoration: none;
color: purple;
font-weight: bold;
}
.confetti {
align-items: center;
}
.titulo {
position: relative;
color: #000;
text-decoration: none;
}
.titulo::before {
content: "";
position: absolute;
width: 100%;
height: 3px;
bottom: 0;
left: 0;
background-color: #FDCC06;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
.titulo:hover:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
.coletanea {
/* Rectangle 4 */
position: static;
width: 400px;
height: 700px;
background: rgba(253, 204, 6, 0.5);
transition: 0.4s ease-out 0s;
border-radius: 10px;
max-width: 100%;
align-content: center;
align-items: center;
justify-content: space-around;
}
.row {
justify-content: center;
}
.reveal {
position: relative;
transform: translateY(150px);
opacity: 0;
transition: all 1s ease;
}
.reveal.active {
transform: translateY(0px);
opacity: 1;
}