ENHANCEMENT: creating background with css
This commit is contained in:
parent
9e06a69f28
commit
78e32b5476
Binary file not shown.
Before Width: | Height: | Size: 291 KiB |
@ -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;
|
||||
|
||||
@-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 {
|
||||
|
Loading…
Reference in New Issue
Block a user