Template:Text Shuffle/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
.TextShuffler { |
.TextShuffler { |
||
font-size: 1.4em; |
|||
color: #ffffff; |
|||
display: flex; |
|||
} |
} |
||
.TextShuffler |
.TextShuffler > div { |
||
opacity: 0; |
|||
animation: fadeCycle 56s linear infinite; |
|||
position: absolute; |
|||
transition: opacity 0.7s ease-in-out; |
|||
text-shadow: 0 0 5px; |
|||
pointer-events: none; |
|||
} |
} |
||
.TextShuffler |
.TextShuffler > :nth-child(1) { animation-delay: 0s; } |
||
.TextShuffler |
.TextShuffler > :nth-child(2) { animation-delay: 8s; } |
||
.TextShuffler |
.TextShuffler > :nth-child(3) { animation-delay: 16s; } |
||
.TextShuffler |
.TextShuffler > :nth-child(4) { animation-delay: 24s; } |
||
.TextShuffler |
.TextShuffler > :nth-child(5) { animation-delay: 32s; } |
||
.TextShuffler |
.TextShuffler > :nth-child(6) { animation-delay: 40s; } |
||
.TextShuffler |
.TextShuffler > :nth-child(7) { animation-delay: 48s; } |
||
@keyframes fadeCycle { |
@keyframes fadeCycle { |
||
0% { opacity: 0; } |
|||
2% { opacity: 1; } |
|||
8% { opacity: 1; } |
|||
10% { opacity: 0; } |
|||
100% { opacity: 0; } |
|||
} |
} |
||
Revision as of 02:10, May 3, 2025
/* turned into slop atp */
.TextShuffler {
font-size: 1.4em;
color: #ffffff;
display: flex;
}
.TextShuffler > div {
opacity: 0;
animation: fadeCycle 56s linear infinite;
position: absolute;
transition: opacity 0.7s ease-in-out;
text-shadow: 0 0 5px;
pointer-events: none;
}
.TextShuffler > :nth-child(1) { animation-delay: 0s; }
.TextShuffler > :nth-child(2) { animation-delay: 8s; }
.TextShuffler > :nth-child(3) { animation-delay: 16s; }
.TextShuffler > :nth-child(4) { animation-delay: 24s; }
.TextShuffler > :nth-child(5) { animation-delay: 32s; }
.TextShuffler > :nth-child(6) { animation-delay: 40s; }
.TextShuffler > :nth-child(7) { animation-delay: 48s; }
@keyframes fadeCycle {
0% { opacity: 0; }
2% { opacity: 1; }
8% { opacity: 1; }
10% { opacity: 0; }
100% { opacity: 0; }
}