This project is inspired by the scroll animations grid example from tympanus.net. It showcases a grid of images with scroll-triggered animations using GSAP and Lenis for smooth scrolling.
- Grid Layout: A responsive grid layout using Tailwind CSS.
- Scroll Animations: Smooth scroll animations using GSAP and ScrollTrigger.
- Custom Scrollbars: Styled scrollbars using OverlayScrollbars.
- HTML: Structure of the webpage.
- CSS: Styling using Tailwind CSS and custom styles.
- JavaScript: Scroll animations and custom scrollbar integration.
- GSAP: Animation library.
- Lenis: Smooth scrolling library.
- OverlayScrollbars: Custom scrollbar library.
-
Clone the repository:
git clone https://github.com/kor1998/Thomas-Vance-clone-.git cd scroll-animations-grid -
Install dependencies:
npm install
-
Run the project: Open
index.htmlin your browser.
index.html: Main HTML file.style.css: Custom CSS styles.script.js: JavaScript for scroll animations and custom scrollbars.
- The grid layout is defined in
index.htmlwith Tailwind CSS classes. - Custom styles for the grid and scrollbars are in
style.css. - Scroll animations and custom scrollbar initialization are in
script.js.
This project is licensed under the MIT License.
- Inspired by tympanus.net.
- Thanks to the creators of GSAP, Lenis, and OverlayScrollbars for their amazing libraries.