-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (91 loc) · 2.31 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css" >
<link rel="stylesheet" href="css/slick.css" >
<link rel="stylesheet" href="css/slick-theme.css" >
<title>Slick Slider</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="slider">
<div>
<img src="images/img1.jpg" alt="" class="img-fluid">
<h1>heading1</h1>
</div>
<div>
<img src="images/img2.jpg" alt="" class="img-fluid">
<h1>heading2</h1>
</div>
<div>
<img src="images/img3.jpg" alt="" class="img-fluid">
<h1>heading3</h1>
</div>
<div>
<img src="images/img1.jpg" alt="" class="img-fluid">
<h1>heading4</h1>
</div>
<div>
<img src="images/img2.jpg" alt="" class="img-fluid">
<h1>heading5</h1>
</div>
<div>
<img src="images/img3.jpg" alt="" class="img-fluid">
<h1>heading6</h1>
</div>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.3.1.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/slick.min.js"></script>
<script>
$('.slider').slick({
infinite: true,
slidesToShow: 2,
slidesToScroll: 2,
dots: true,
speed: 300,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
infinite: true,
dots: true
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
// You can unslick at a given breakpoint now by adding:
// settings: "unslick"
// instead of a settings object
],
arrows: true,
});
</script>
</body>
</html>