Please note, this will only work in the latest browsers, so if your users all use IE6, this isn't the tutorial for you.
First up, insert the following CSS into your global.css file:
Code:
.rainbow{
-webkit-animation:rainbow 3s linear infinite;
animation:rainbow 3s linear infinite;
}
@keyframes rainbow {
from {
color: red;
text-shadow: 0 0 10px red;
}
15% {
color: orange;
text-shadow: 0 0 10px orange;
}
30% {
color: yellow;
text-shadow: 0 0 10px yellow;
}
45% {
color: green;
text-shadow: 0 0 10px green;
}
60% {
color: blue;
text-shadow: 0 0 10px blue;
}
75% {
color: indigo;
text-shadow: 0 0 10px indigo;
}
90% {
color: violet;
text-shadow: 0 0 10px violet;
}
to {
color: red;
text-shadow: 0 0 10px red;
}
}
@-webkit-keyframes rainbow {
from {
color: red;
text-shadow: 0 0 10px red;
}
15% {
color: orange;
text-shadow: 0 0 10px orange;
}
30% {
color: yellow;
text-shadow: 0 0 10px yellow;
}
45% {
color: green;
text-shadow: 0 0 10px green;
}
60% {
color: blue;
text-shadow: 0 0 10px blue;
}
75% {
color: indigo;
text-shadow: 0 0 10px indigo;
}
90% {
color: violet;
text-shadow: 0 0 10px violet;
}
to {
color: red;
text-shadow: 0 0 10px red;
}
}
Now, under the group settings of the group you want to have "rainbow text" on, insert the following username style:
PHP:
<span class="rainbow">{username}</span>
For a working demo, check out this user on my dev forum:
Code:
http://webma.st/ers/user-1.html