fix: various issues to reduce effect_update_depth_exceeded

+ use `scroll` from Motion One for parallax
This commit is contained in:
2024-08-05 15:35:08 +02:00
parent 2a29a32ff4
commit 1cc143ef27
9 changed files with 50 additions and 54 deletions

View File

@@ -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) {