-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
38 lines (38 loc) · 948 Bytes
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE hmtl>
<html>
<head>
<title>air-slider</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="air-slider/air-slider.min.css">
<style>
body{
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
text-align: center;
}
</style>
</head>
<body>
<h1>air-slider</h1>
<h2>Very simple and lightweight pure js slider</h2>
<div class="air-slider">
<div class="slide">
<img src="img/image1.jpg" alt="slide1"/>
</div>
<div class="slide">
<img src="img/image2.jpeg" alt="slide2"/>
</div>
<div class="slide">
<img src="img/image3.jpeg" alt="slide3"/>
</div>
</div>
<script src="air-slider/air-slider.min.js"></script>
<script>
var slider = new airSlider({
autoPlay: true,
width: '600px',
height: '300px'
});
</script>
</body>
</html>