Jump to content
Search Community

creativeg

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by creativeg

  1. Hello, I'm trying to recreate an effect from this website — towards the end of the page, the stacking cards effect. From what I can see when one enters the section, there's some sort of parallax effect and the last two cards start moving up slowly until the titles stay at the center of each card and the first card is always at the top — slowly moving up, until all cards have reached their final position. I've tried recreating something similar with various resources but for the life of me I can't get it to work I have a minimal demo with my latest attempt and I would really appreciate if someone could help me out. Maybe I'm thinking this wrong or something. Thanks in advance
  2. I just did exactly that, for some reason it didn't work last time, but now it does. I probably messed up something, so no real solution to provide. Thanks everyone, don't know what I did but I'm back on track!
  3. I just spent a couple of hours setting up a webpack template and I still have the problem from my previous screenshot, so it might just be that I suck at build tools. I'm importing GSAP as one would expect - in both Webpack and Vite. import gsap from 'gsap' import { ScrollSmoother } from 'gsap/ScrollSmoother' I've also tried importing from dist and all.
  4. I'm trying to move most of my stuff from Webpack to Vite, I'm proficient in neither of them but. I've been having lots of problems, and have been unable to find a solution; I'm not able to register nor import ScrollSmoother — or any Club Greensock plugin. I've been back and forth between this forum, Vite's docs, forums, and the consensus is not many people are experiencing problems as it seems to affect mainly the paid plugins. I just created a new project as I found some thread mentioning that it worked for Vite 3 and up. Nothing. I know this seems to be a Vite problem, but somewhere I also read there being a namespace problem that needed to be fixed for GSAP. I'm just tired of not finding anything, so is there any workaround to make GSAP and the Club Greensock plugins in Vite?
×
×
  • Create New...