masterjaneza/Horizontal-Scroll-Gallery---V3
V3 is the latest iteration of the Horizontal Scroll Gallery project, emphasizing enhanced design aesthetics, improved performance, and a more engaging user experience. Building upon the foundations laid in V2, this version introduces refined animations, a modern color palette, and optimized responsiveness.
Horizontal Scroll Gallery | V3
A smoother, sleeker, and more refined take on horizontal scrolling. Version 3 builds on the solid foundation of V2 but cranks up the visual appeal and user experience. With modern gradients, more fluid scrolling, and refined responsiveness, this gallery now feels like a real showcase β not just a prototype.
Still light. Still library-free. Just HTML, CSS, and a sprinkle of JavaScript.
π§ Improvements from V2
- π¨ Modernized Visual Design β Clean gradients replace flat colors, giving each image card more depth and elegance.
- π Smoother Scroll Feel β Enhanced scroll handling with improved performance and better fluidity on touch and desktop.
- π± Improved Mobile Experience β Optimized for swiping and smaller screens with cleaner spacing and touch-friendly layout.
- βοΈ Cleaner Codebase β Refactored CSS for readability and easier customization.
- π‘ Ready for Expansion β Layout and components are structured for quick styling and animation upgrades.
π― Purpose
This project continues the mission of exploring horizontal scrolling in a simple but visually interesting way. It's ideal for:
- Portfolios
- Product galleries
- Landing pages
- Interactive timelines or image-based storytelling
Think of it as a horizontally scrolling canvas you can turn into anything β minimal and light, but expandable and elegant.
π What It Does
- Displays a gallery of image cards that scroll horizontally.
- Enables vertical mouse wheel to trigger horizontal scroll.
- Smooth and responsive behavior on both desktop and mobile.
- Supports touch gestures natively β no libraries required.
π§ How It Works
- A container element uses
display: flexwithoverflow-x: auto. - JavaScript listens for vertical wheel events and translates them into horizontal scroll.
- Smooth scroll behavior is enabled for fluid motion.
- Images are styled with padding, shadows, and modern CSS enhancements.
πΌοΈ Design Notes
This version finally begins to look like something you'd put in production β or at least a proper portfolio draft.
Improvements include:
- Subtle box-shadows and gradient backgrounds for each image card
- Scrolling that feels less mechanical and more polished
- Layout padding for better breathing room
You can extend the design further by:
- Adding scroll snapping (
scroll-snap-type) - Animating image hover or focus states
- Embedding titles, captions, or overlays
- Using
IntersectionObserverfor lazy loading or animation triggers
π§ͺ Browser Support
Fully functional in all modern browsers.
Tested on:
- Chrome
- Firefox
- Safari
- Edge
π Known Limitations
- No scroll snapping yet (but itβs easy to add).
- Scrollbar is visible by default β can be styled or hidden.
- No built-in accessibility for keyboard navigation (yet).
βοΈ Setup & Installation
- Clone the repository
git clone https://github.com/masterjaneza/Horizontal-Scroll-Gallery---V1.git
Open the Project:
- Open
index.htmlin your browser
or - Use Live Server in VS Code.
π§ͺ License
This project is open source β use it, fork it, tweak it, remix it.
Just give credit where itβs due. βοΈ
π Support the Project
If you like this or find it useful, give it a β star on GitHub.
Fork it, extend it, tag me β letβs inspire each other to scroll sideways in style.
βοΈ Credits
Designed & developed by
Davit Janezashvili
aka MasterJaneza β Creative Developer & Designer
β οΈ Note
For best visuals, use in light mode.
Some gradients or shadows may appear dull in dark mode.