This project implements a unique scroll animation using GSAP and ScrollTrigger, where content cards "jump" into place based on the scroll direction instead of a smooth color transition.
- Uses
GSAP
andScrollTrigger
for animations. - Cards animate into position dynamically based on scroll.
- Responsive design with desktop and mobile layouts.
- Optimized scroll effects for a smooth user experience.
- Clone this repository:
git clone https://github.com/yourusername/gsap-scroll-jump.git
- Navigate to the project folder:
cd gsap-scroll-jump
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Scroll through the page to see the cards jump into position.
- Adjust viewport width to see responsive behavior.
- React
- GSAP (
gsap/ScrollTrigger
) - CSS for layout and styling
This project is open-source and available under the MIT License.