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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user