made background animated

y
This commit is contained in:
Jakub Heger 2024-10-21 15:53:36 +02:00
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

View file

@ -20,8 +20,13 @@ html {
}
body {
margin: 0px;
background-image: url(/assets/bgpattern.png);
animation: scrolling 20s linear 1;
animation-direction: forward;
animation-iteration-count: infinite;
margin: 0px;
color: var(--foreground);
font-family: monospace;
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;
}
}