fix: rainbow and put it in core.css for everyone!

This commit is contained in:
Julien Calixte
2026-01-02 14:34:47 +01:00
parent 09f0312cc9
commit 2ce2ca0eae
3 changed files with 30 additions and 30 deletions

View File

@@ -59,3 +59,31 @@ button:active {
button {
transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.rainbow {
text-decoration: underline;
background: linear-gradient(
to right,
#6666ff,
#0099ff,
#00ff00,
#ff3399,
#6666ff
);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: rainbow-animation 5s ease-in-out infinite;
background-size: 400% 100%;
}
@keyframes rainbow-animation {
0%,
100% {
background-position: 0 0;
}
50% {
background-position: 100% 0;
}
}