šŸŽØ Award-Winning Slider

A stunning, modern image carousel with synchronized text animations and smooth transitions. Built with vanilla JavaScript, jQuery, Slick Carousel, and GSAP animations.

HTML5 CSS3 JavaScript jQuery

✨ Features

  • šŸ–¼ļø Dual Synchronized Sliders - Image carousel perfectly synced with text content
  • šŸŽ­ Smooth Animations - GSAP-powered zoom effects and fluid transitions
  • šŸ“± Responsive Design - Optimized layouts for mobile and desktop
  • šŸŽÆ Center Mode - Active slide scales and centers for dramatic effect
  • ⚔ Auto-play - Automatic slideshow with customizable timing
  • šŸŽØ Elegant UI - Minimalist navigation with decorative overlays
  • šŸ”„ Custom Easing - Cubic bezier curves for professional motion

šŸš€ Demo

Live Demo

The slider features:

  • 5 beautiful high-quality images from Unsplash
  • Synced headline text for each slide
  • Zoom-in/out animation on slide transitions
  • Elegant circular navigation buttons
  • Dark overlay panels for depth

šŸ“‹ Prerequisites

No installation required! This project uses CDN links for all dependencies:

  • jQuery 3.6.0
  • Slick Carousel 1.9.0
  • GSAP 3.12.5
  • Ionicons 4.5.10

šŸ› ļø Installation

  1. Clone the repository

    git clone https://github.com/kuldeep-jadeja/AwardWinningSlider.git
    
  2. Navigate to the project folder

    cd AwardWinningSlider
    
  3. Open in your browser

    # Simply open index.html in your preferred browser
    # Or use a local server:
    python -m http.server 8000
    # Then visit: http://localhost:8000
    

šŸ“ Project Structure

AwardWinningSlider/
ā”œā”€ā”€ index.html          # Main HTML structure
ā”œā”€ā”€ style.css           # Styling and layout
ā”œā”€ā”€ script.js           # Slider logic and animations
└── README.md           # Project documentation

šŸŽÆ Usage

Basic Setup

The slider is ready to use out of the box. Simply open index.html in a browser.

Customization

Change Autoplay Speed:

// In script.js, modify autoplaySpeed (in milliseconds)
autoplaySpeed: 2400,  // Change to your preferred timing

Add More Slides:

<!-- Add to both .text-slider and .image-slider in index.html -->
<div class="text-slide">
    <h1>Your New <br />Heading</h1>
</div>

<div
    class="image-slide"
    style="background: url(YOUR_IMAGE_URL) center/cover no-repeat;"
></div>

Customize Animation:

// In script.js, adjust GSAP animation parameters
gsap.fromTo(
    `.slick-slide[data-slick-index="${next}"]`,
    { scale: 0.9, opacity: 0 }, // Starting state
    { scale: 1, opacity: 1, duration: 1, ease: "power3.out" }, // End state
);

šŸŽØ Color Scheme

  • Background: #0f0f0f (Near black)
  • Text: #fff (White)
  • Overlay: rgba(0, 0, 0, 0.65) (Semi-transparent black)

šŸ“± Responsive Breakpoints

  • Desktop: Full experience with all decorative elements
  • Mobile (<990px): Simplified layout with adjusted text size and positioning

šŸ”§ Configuration Options

Slider Settings

OptionValueDescription
autoplaytrueEnable automatic sliding
autoplaySpeed2400Time between slides (ms)
speed1800Transition duration (ms)
slidesToShow2 (images), 1 (text)Visible slides
centerModetrueCenter active slide
cssEasecubic-bezier(.84,0,.08,.99)Transition timing function

🌟 Key Technologies

  • Slick Carousel - Powerful and flexible carousel library
  • GSAP (GreenSock) - Professional-grade animation engine
  • jQuery - DOM manipulation and event handling
  • Ionicons - Clean, modern icon set
  • CSS3 - Modern styling with transforms and transitions

šŸŽ“ Learning Resources

This project demonstrates:

  • Synchronized multi-slider functionality
  • GSAP animation integration
  • Responsive design patterns
  • Custom easing functions
  • CSS layering and positioning
  • Event-driven animations

šŸ¤ Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Improve documentation

šŸ“„ License

This project is open source and available for personal and commercial use.

šŸ‘¤ Author

Kuldeep Jadeja

šŸ™ Acknowledgments

  • Images sourced from Unsplash
  • Inspired by modern web design trends
  • Built with love for the web development community

Made with ā¤ļø by Kuldeep Jadeja

⭐ Star this repo if you found it helpful!