made background animated
y
This commit is contained in:
parent
c776b03b4c
commit
54ec383619
2 changed files with 16 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 23 KiB |
17
style.css
17
style.css
|
@ -20,8 +20,13 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0px;
|
|
||||||
background-image: url(/assets/bgpattern.png);
|
background-image: url(/assets/bgpattern.png);
|
||||||
|
animation: scrolling 20s linear 1;
|
||||||
|
animation-direction: forward;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
|
||||||
|
|
||||||
|
margin: 0px;
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -219,3 +224,13 @@ only screen and (max-width:1000px) {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes scrolling {
|
||||||
|
from {
|
||||||
|
background-position: 0 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
background-position: -300px 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue