-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gallery With Lightbox2.html
46 lines (44 loc) · 2.05 KB
/
Gallery With Lightbox2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gallery Project with Lightbox</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="row">
<div class="gallery-title">
<h2>Gallery with Lightbox</h2>
</div>
</div>
<div class="row">
<div class="gallery">
<figure class="card">
<a href="images/lakeview-elegance.png" data-lightbox="gallery" data-title="Lakeview Elegance">
<img src="images/lakeview-elegance.png" alt="Lakeview Elegance preview">
</a>
</figure>
<figure class="card">
<a href="images/skyline-oasis.png" data-lightbox="gallery" data-title="Skyline Oasis">
<img src="images/skyline-oasis.png" alt="Skyline Oasis preview">
</a>
</figure>
<figure class="card">
<a href="images/villa-verde.png" data-lightbox="gallery" data-title="Villa Verde">
<img src="images/villa-verde.png" alt="Villa Verde preview">
</a>
</figure>
<figure class="card">
<a href="images/vista-paradiso.png" data-lightbox="gallery" data-title="Vista Paradiso">
<img src="images/vista-paradiso.png" alt="Vista Paradiso preview">
</a>
</figure>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/js/lightbox-plus-jquery.min.js"></script>
</body>
</html>