projet-clicodrome/INSA/projet-clicodrome/css/index.css
2024-12-22 20:10:57 +01:00

53 lines
No EOL
956 B
CSS

@keyframes faireTournerImage {
0% {
transform: rotate(0deg);
opacity: 1;
}
100% {
transform: rotate(360deg);
opacity: 1;
}
}
#image-collegue-animee {
width: auto;
height: auto;
animation: faireTournerImage 2s linear forwards infinite;
z-index: 1;
}
.div-centrer-contenu{
width: 100%;
justify-content: center;
text-align: center;
}
@keyframes pluieConfetti {
0% {
transform: translateY(-100px) rotate(0deg);
opacity: 1;
}
100% {
transform: translateY(100vh) rotate(720deg);
opacity: 0;
}
}
.confetti {
position: absolute;
width: 10px;
height: 20px;
animation: pluieConfetti 5s linear infinite;
opacity: 0;
}
.confetti-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
pointer-events: none; /* pour ne pas interagir avec les confettis */
}