-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfetti.css
More file actions
52 lines (48 loc) · 1.32 KB
/
Copy pathconfetti.css
File metadata and controls
52 lines (48 loc) · 1.32 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
/* ===== CONFETI ROCKERO - PALETA MORADA ===== */
.confetti-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
overflow: hidden;
}
.confetti-piece {
position: absolute;
width: 16px;
height: 16px;
opacity: 0;
animation: confettiFall linear forwards;
}
.confetti-piece svg {
width: 100%;
height: 100%;
display: block;
}
/* ===== NUEVA PALETA DE COLORES (Morado / Negro / Blanco) ===== */
.confetti-piece.star svg { fill: #8b5cf6; } /* Morado principal */
.confetti-piece.spark svg { fill: #c4b5fd; } /* Morado claro */
.confetti-piece.diamond svg { fill: #ffffff; } /* Blanco */
.confetti-piece.circle svg { fill: #4c1d95; } /* Morado oscuro */
.confetti-piece.triangle svg { fill: #a855f7; } /* Morado vibrante */
.confetti-piece.square svg { fill: #1a1a1e; } /* Negro con tono sutil */
@keyframes confettiFall {
0% {
opacity: 0;
transform: translateY(-10vh) rotate(0deg) scale(0.5);
}
10% {
opacity: 1;
transform: translateY(-5vh) rotate(72deg) scale(1);
}
90% {
opacity: 1;
transform: translateY(85vh) rotate(648deg) scale(1);
}
100% {
opacity: 0;
transform: translateY(95vh) rotate(720deg) scale(0.3);
}
}