Text changes colors

By Golden-Cat-14Golden-Cat-14


put description what kind of problem does the solution solve and how


[[module CSS]]
@keyframes color-transition {
  0% { color: red; }
  25% { color: blue; }
  50% { color: green; }
  75% { color: orange; }
  100% { color: purple; }

.color-transition-text {
  animation: color-transition 5s infinite;

[[div class="color-transition-text"]]
  Text changes colors

In action

Text changes colors

Thanks to tsangk for this great snippet: conditional-blocks

text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]

Other snippets posted by Golden-Cat-14

Do not try in life 2 - 14 Sep 2022 05:51
Do not try in life - 14 Sep 2022 05:50

Rate this solution

If you think this solution is useful — rate it up!

rating: +8+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License