Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Text Shuffle/styles.css: Difference between revisions

Template page
Content deleted Content added
MMONTAGEe (talk | contribs)
No edit summary
MMONTAGEe (talk | contribs)
No edit summary
Line 2: Line 2:


.TextShuffler {
.TextShuffler {
font-size: 1.5em;
font-size: 1.9em;
color: #ffffff;
color: #ffffff;
height: 1.5em;
height: 2.0em;
display: flex;
display: flex;
}
}

Revision as of 17:39, April 18, 2025

/* turned into slop atp */

.TextShuffler {
  font-size: 1.9em;
  color: #ffffff;
  height: 2.0em;
  display: flex;
}

.TextShuffler .word {
  opacity: 0;
  animation: fadeCycle 16s linear infinite;
  position: absolute;
  transition: opacity 1.0s ease-in-out;
}

.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; }

@keyframes fadeCycle {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}