fix: various issues to reduce effect_update_depth_exceeded
+ use `scroll` from Motion One for parallax
This commit is contained in:
@@ -492,7 +492,7 @@
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
gap: 1.75vw;
|
||||
margin: -5% -5% 0;
|
||||
transform: rotate(-6deg) translateY(var(--parallax-y)) translateZ(0);
|
||||
transform: rotate(-6deg) translateY(var(--parallax)) translateZ(0);
|
||||
transition: transform 0.8s var(--ease-quart);
|
||||
|
||||
@include bp (sm) {
|
||||
|
||||
Reference in New Issue
Block a user