This commit is contained in:
vista-man
2024-10-30 10:18:32 +01:00
parent 79cb38069d
commit 4aeeae0f2f
3 changed files with 283 additions and 5 deletions

15
css/jarallax.css Normal file
View File

@@ -0,0 +1,15 @@
.jarallax {
position: relative;
z-index: 0;
}
.jarallax > .jarallax-img {
position: absolute;
object-fit: cover;
/* support for plugin https://github.com/bfred-it/object-fit-images */
font-family: 'object-fit: cover;';
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}