/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
body {
  background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/stars%203.gif");
  color: white;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
}

<style>
/* (A) SET COLORS */
.wordA {
  --colorA: red;
  --colorB: yellow;
  --colorC: blue;
}
.wordB {
  --colorA: blue;
  --colorB: red;
  --colorC: yellow;
}
.wordC {
  --colorA: yellow;
  --colorB: blue;
  --colorC: red;
}
 
/* (B) ROTATE COLORS */
@keyframes rainbow {
  33% { color: var(--colorA); }
  50% { color: var(--colorB); }
  100% { color: var(--colorC); }
}
.rainbow {
  animation: 2s infinite rainbow;
}
</style>
 
<!-- (C) SPLIT INTO INDIVIDIAL SPAN -->
<p>
  <span class="rainbow wordA">Some</span>
  <span class="rainbow wordB">Rainbow</span>
  <span class="rainbow wordC">Text</span>
</p>