Hi there.
I’m trying to add a CSS snippet and have tried to add it “Appearance > Customize, put your css code to “Additional CSS” box.” I also tried to add it in the style.css, but can’t seem to make it work.
Is there something I have forgotten to allow or deactivate?
Thanks a lot in advance. /Rasmus
Here is the CSS which changes the background color:
body {
animation: colorchange 50s; /* animation-name followed by duration in seconds*/
/* you could also use milliseconds (ms) or something like 2.5s */
-webkit-animation: colorchange 50s; /* Chrome and Safari */
}
@keyframes colorchange
{
0% {background: red;}
25% {background: yellow;}
50% {background: blue;}
75% {background: green;}
100% {background: red;}
}
@-webkit-keyframes colorchange /* Safari and Chrome – necessary duplicate */
{
0% {background: red;}
25% {background: yellow;}
50% {background: blue;}
75% {background: green;}
100% {background: red;}
}