Template:Text Shuffle/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
slop |
No edit summary |
||
| Line 9: | Line 9: | ||
.TextShuffler .word { |
.TextShuffler .word { |
||
opacity: 0; |
opacity: 0; |
||
animation: fadeCycle |
animation: fadeCycle 24s linear infinite; |
||
position: absolute; |
position: absolute; |
||
transition: opacity 1.0s ease-in-out; |
transition: opacity 1.0s ease-in-out; |
||
text-shadow: 0 0 5px; |
|||
} |
} |
||
| Line 20: | Line 21: | ||
.TextShuffler .word:nth-child(5) { animation-delay: 16s; } |
.TextShuffler .word:nth-child(5) { animation-delay: 16s; } |
||
.TextShuffler .word:nth-child(6) { animation-delay: 20s; } |
.TextShuffler .word:nth-child(6) { animation-delay: 20s; } |
||
.TextShuffler .word:nth-child(7) { animation-delay: 24s; } |
|||
@keyframes fadeCycle { |
@keyframes fadeCycle { |
||
Revision as of 18:22, April 18, 2025
/* turned into slop atp */
.TextShuffler {
font-size: 1.4em;
color: #ffffff;
display: flex;
}
.TextShuffler .word {
opacity: 0;
animation: fadeCycle 24s linear infinite;
position: absolute;
transition: opacity 1.0s ease-in-out;
text-shadow: 0 0 5px;
}
.TextShuffler .word:nth-child(1) { animation-delay: 0s; }
.TextShuffler .word:nth-child(2) { animation-delay: 4s; }
.TextShuffler .word:nth-child(3) { animation-delay: 8s; }
.TextShuffler .word:nth-child(4) { animation-delay: 12s; }
.TextShuffler .word:nth-child(5) { animation-delay: 16s; }
.TextShuffler .word:nth-child(6) { animation-delay: 20s; }
.TextShuffler .word:nth-child(7) { animation-delay: 24s; }
@keyframes fadeCycle {
0% { opacity: 0; }
5% { opacity: 1; }
25% { opacity: 1; }
30% { opacity: 0; }
100% { opacity: 0; }
}