added rgb animation

This commit is contained in:
Miodec 2022-06-08 01:52:26 +02:00
parent 26d359a168
commit 929fb6d9fb

View file

@ -78,3 +78,24 @@
background-color: var(--bg-color);
}
}
@keyframes rgb-bg {
0% {
background: hsl(120, 39%, 49%);
}
20% {
background: hsl(192, 48%, 48%);
}
40% {
background: hsl(264, 90%, 58%);
}
60% {
background: hsl(357, 89%, 50%);
}
80% {
background: hsl(46, 100%, 51%);
}
100% {
background: hsl(120, 39%, 49%);
}
}