Skip to content

Commit 5103e66

Browse files
committed
Update index.css
Signed-off-by: Grouvex <168425996+Grouvex@users.noreply.github.com>
1 parent 9541756 commit 5103e66

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

Diff for: index.css

+22-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
.confeti {
2+
position: absolute;
3+
width: 10px;
4+
height: 10px;
5+
background-color: #e74c3c;
6+
border-radius: 50%;
7+
animation: explode 2s infinite;
8+
}
9+
@keyframes explode {
10+
0% {
11+
transform: translateY(1) ;
12+
opacity: 1;
13+
}
14+
100% {
15+
transform: translateY(100vh) rotate(720deg);
16+
opacity: 0;
17+
}
18+
}
119
/*Primavera*/
220
.flower {
321
position: absolute;
@@ -44,8 +62,10 @@
4462
}
4563

4664
@keyframes fall {
47-
0% { top: -10px; }
48-
100% { top: 100%; }
65+
0% { top: 0px;
66+
opacity: 1;}
67+
100% { top: 100%;
68+
opacity: 0;}
4969
}
5070
/*Página*/
5171
#notification {

0 commit comments

Comments
 (0)