Skip to content

atmdevx/smooth-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SmoothSlider

SmoothSlider is a sleek, smooth, and modern image slider built with Tailwind CSS. It allows you to display images in a beautiful, fluid carousel, enhancing the user experience on your website.

Demo

slider-github-resized-finalized.mp4

Features

  • 🌟 Smooth sliding animations
  • πŸš€ Built with Tailwind CSS for responsive design
  • 🎨 Customizable size and duration
  • πŸ–ΌοΈ Displays images in a rotating, auto-scrolling manner
  • ✨ Clean and simple code

Installation

To use SmoothSlider in your project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/atmdevx/smooth-slider
  2. Include the output.css file from Tailwind CSS in your HTML file:

    <link href="./output.css" rel="stylesheet">
  3. Add the HTML structure:

    <div class="slider">
      <img src="./images/01.png" alt="01">
      <img src="./images/02.png" alt="02">
      <img src="./images/03.png" alt="03">
      <!-- Add more images as needed -->
    </div>
  4. Customize the CSS (optional):

    • You can change the slider width, height, and duration by adjusting the :root variables in the CSS file.

Customization

You can easily customize the slider by adjusting the following variables in the :root section of the CSS file:

  • --item-count: Number of images in the slider
  • --width: Width of the slider (e.g., 400px)
  • --height: Height of the slider (e.g., 400px)
  • --duration: Duration of the slide transition (e.g., 8s)

License

This project is open-source and available under the MIT License.

About

🌟 SmoothSlider 🎠 is a sleek, smooth, and modern slider built with Tailwind CSS! πŸš€ Display images beautifully and create an amazing user experience. 🎨✨ Simple code, attractive design, and perfect for your web projects! πŸŒπŸ’»

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors