KiloByte Slider

  • Only 2kb size
  • Super easy to use
  • Only Vanilla javascript
  • Don't need any Libary
  • click here to download
  • Usage

  • Add slider.js and slider.css in your page and
  •       Example: 
          <link href="slider.css" rel="slider.css">
          <script src="slider.js"></script>
       
  • Make a div with class name slider and put all the slide images
  •       Example:
          <div class="slider">
             <img src="youImage.jpg" alt="">
             <img src="youImage.jpg" alt="">
             <img src="youImage.jpg" alt="">
             <img src="youImage.jpg" alt="">
          </div>
       
  • And that's it your slider is ready
  • Demo