Press "Enter" to skip to content

Simple and Lightweight Responsive Slider Without jQuery | air-slider

air-slider is a simple, lightweight, responsive slider with no query. 3 KB only. SASS included.

responsive automatic image slider, automatic image slider in html css, responsive image slider with text

How to make use of it:

1. Add antenna slider stylesheet and javascript files to your HTML page.

<link rel="stylesheet" href="air-slider.min.css">
<script src="air-slider.min.js"></script>

2. Add your photos as slides to the slider.

<div class="air-slider">
  <div class="slide">
    <img src="1.jpg" alt="slide1"/>
  </div>
  <div class="slide">
    <img src="2.jpeg" alt="slide2"/>
  </div>
  <div class="slide">
    <img src="3.jpeg" alt="slide3"/>
  </div>
</div>

3. Initialize the image slider by creating a brand new airSlider object like this:

var slider = new airSlider({
    // options go here
});

4. Configure the slider as you like:

var slider = new airSlider({
    // enable autoplay
    autoPlay: true,
    // autoplay interval
    autoPlayTime: 3000,
    // slider size
    width: '600px',
    height: '300px'
    
});

Automatic Responsive Image Slider, air-slider Plugin/Github


See Demo And Download

Official Website(nueq22): Click Here

This superior jQuery/javascript plugin is developed by nueq22. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.