ENHANCEMENT: creating background with css

This commit is contained in:
Jeroen De Meerleer 2021-08-06 15:19:40 +02:00
parent 9e06a69f28
commit 78e32b5476
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 20 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

View File

@ -17,12 +17,30 @@ body {
&.nineties {
color: $black;
background-image: url("../images/background-1990.gif");
-webkit-animation: background 2s linear infinite;
-moz-animation: background 2s linear infinite;
animation: background 2s linear infinite;
background: linear-gradient(to right, red, orange, yellow, green, aqua, blue, violet, red, orange, yellow, green, aqua, blue, violet, red);
background-size: 200% 200%;
font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive;
a{
@-webkit-keyframes background {
0%{background-position:100% 50%}
100%{background-position:0% 50%}
}
@-moz-keyframes background {
0%{background-position:100% 50%}
100%{background-position:0% 50%}
}
@keyframes background {
0%{background-position:100% 50%}
100%{background-position:0% 50%}
}
a {
color: $black;
}
}
.nineties-toggle {