Skip to content

Commit 1f954c9

Browse files
committed
update code
1 parent 99e5759 commit 1f954c9

File tree

1 file changed

+1
-2
lines changed
  • src/horiz-scroll-velocity-skew

1 file changed

+1
-2
lines changed

src/horiz-scroll-velocity-skew/01.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ const horizontalSection = document.querySelector("#horizontal-section");
1010
const wrapper = horizontalSection.querySelector(".wrapper");
1111
const items = wrapper.querySelectorAll(".item");
1212

13-
// Function for the horizontal scrolling effect and the parallax effect
1413
function initScroll() {
15-
// HORIZONTAL SCROLLING EFFECT
14+
// Horizontal SCrolling Effect
1615
let wrapperTween = gsap.to(wrapper, {
1716
x: () => {
1817
const itemWidth = items[0].offsetWidth;

0 commit comments

Comments
 (0)