New effect, padding tweak

This commit is contained in:
CTalvio
2021-08-12 03:22:43 +03:00
parent de93a8f54f
commit 0105f76ecd
3 changed files with 32 additions and 132 deletions

27
effects/pan-animation.css Normal file
View File

@@ -0,0 +1,27 @@
@keyframes backgroundScroll {
0% {
background-position: 99% 1%;
}
20% {
background-position: 1% 50%;
}
40% {
background-position: 99% 99%;
}
60% {
background-position: 1% 1%;
}
80% {
background-position: 50% 99%;
}
100% {
background-position: 99% 1%;
}
}
.backdropImage {
background-size: 150% 150%;
background-position: 99% 1%;
animation: backgroundScroll 210s ease;
animation-iteration-count: infinite;
}