-
Notifications
You must be signed in to change notification settings - Fork 0
/
poc-owl-carousel.html
68 lines (61 loc) · 3.98 KB
/
poc-owl-carousel.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PBSV: Owl Carousel</title>
<!-- css -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" integrity="sha512-sMXtMNL1zRzolHYKEujM2AqCLUR9F2C4/05cdbxjjLSRvMQIciEPCQZo++nk7go3BtSuK9kfa/s+a4f4i5pLkw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Owl Carousel Block Proof of concept</h1>
<div id="block">
<div class="owl-carousel">
<div class="item">
<div class="img img1">
<img src="https://placehold.co/600x400" alt="">
<div class="caption">Some text and caption over top of the image here.
<a href="https://google.com" target="_blank" class="btn btn-primary">Go to Google</a>
</div>
</div>
<div class="img img2">
<img src="https://placehold.co/600x400" alt="">
<div class="caption">Some text and caption over top of the image here.</div>
</div>
<div class="img img3">
<img src="https://placehold.co/600x800" alt="">
<div class="caption">Some text and caption over top of the image here.</div>
</div>
</div>
<div class="item">
<div class="img img1">
<img src="https://placehold.co/600x400" alt="">
<div class="caption">Some text and caption over top of the image here.</div>
</div>
<div class="img img2">
<img src="https://placehold.co/600x400" alt="">
<div class="caption">Some text and caption over top of the image here.</div>
</div>
<div class="img img3">
<img src="https://placehold.co/600x800" alt="">
<div class="caption">Some text and caption over top of the image here.</div>
</div>
</div>
</div>
</div> <!-- end of block -->
</div>
</div>
</div>
<!-- javascript -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js" integrity="sha512-9CWGXFSJ+/X0LWzSRCZFsOPhSfm6jbnL+Mpqo0o8Ke2SYr8rCTqb4/wGm+9n13HtDE1NQpAEOrMecDZw4FXQGg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="js/script.js"></script>
</body>
</html>