-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
37 lines (32 loc) · 1.07 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Simple Carousel</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<h1>Simple Carousel</h1>
<div class="carousel" id="intro-slider">
<div class="carousel-inner">
<div class="carousel-item">
<p>A simple carousel optimised for displaying HTML contents.</p>
</div>
<div class="carousel-item">
<p>It can certainly contain any HTML elements.</p>
</div>
<div class="carousel-item">
<p>This slider uses table-like display to align elements into middle and maintain same height throughout the slides.</p>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<script src="dist/main.min.js"></script>
<script>
var carousel = new Carousel();
carousel.init();
</script>
</body>
</html>