Place: Use Rellax to add some parallax effects

- Added on title, switcher button and illustration
- Not very suitable for photo number
This commit is contained in:
2020-04-19 12:49:38 +02:00
parent 06c1475c5f
commit c1bb2f31bc
5 changed files with 41 additions and 20 deletions

View File

@@ -171,7 +171,11 @@
height: 100%;
will-change: transform, opacity;
div {
.parallax {
width: 100%;
height: 100%;
}
&_img {
position: relative;
left: 50%;
width: 100%;
@@ -191,6 +195,5 @@
background-image: var(--url-desktop-2x);
}
}
}
}
}