We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99e5759 commit 1f954c9Copy full SHA for 1f954c9
src/horiz-scroll-velocity-skew/01.js
@@ -10,9 +10,8 @@ const horizontalSection = document.querySelector("#horizontal-section");
10
const wrapper = horizontalSection.querySelector(".wrapper");
11
const items = wrapper.querySelectorAll(".item");
12
13
-// Function for the horizontal scrolling effect and the parallax effect
14
function initScroll() {
15
- // HORIZONTAL SCROLLING EFFECT
+ // Horizontal SCrolling Effect
16
let wrapperTween = gsap.to(wrapper, {
17
x: () => {
18
const itemWidth = items[0].offsetWidth;
0 commit comments