-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDoraemon Gallery.html
118 lines (110 loc) · 3.85 KB
/
Doraemon Gallery.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
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<title>My Doraemon Gallery</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightgallery-js/1.4.0/css/lightgallery.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
transition: all .2s linear;
}
.lightGallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 90%;
margin: 0 auto;
}
body {
background: #3487b1;
}
.lightGallery a {
width: 200px;
height: 300px;
overflow: hidden;
position: relative;
display: block;
border-radius: 5px;
margin: 20px;
box-shadow: 0 2px 4px #530731;
}
.lightGallery a img {
width: 100%;
height: 100%;
object-fit: cover;
cursor: pointer;
}
.lightGallery a img:hover {
transform: scale(1.5);
}
h1 {
font-size: 50px;
font-weight: bold;
margin-top: 10;
color: #e8a1a1;
text-align: center;
text-transform: uppercase;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
box-shadow: #801414;
}
h1:hover {
transform: scale(1.2);
}
</style>
</head>
<body>
<h1>My Doraemon Gallery</h1>
<div class="lightGallery">
<!-- Thumbnails of images -->
<a href="Pics/1.jpg">
<img src="Pics/1.jpg" alt="Image 1">
</a>
<a href="Pics/2.jpg">
<img src="Pics/2.jpg" alt="Image 2">
</a>
<a href="Pics/3.jpg">
<img src="Pics/3.jpg" alt="Image 3">
</a>
<a href="Pics/4.jpg">
<img src="Pics/4.jpg" alt="Image 4">
</a>
<a href="Pics/5.jpg">
<img src="Pics/5.jpg" alt="Image 5">
</a>
<a href="Pics/6.jpg">
<img src="Pics/6.jpg" alt="Image 6">
</a>
<a href="Pics/7.jpg">
<img src="Pics/7.jpg" alt="Image 7">
</a>
<a href="Pics/8.jpg">
<img src="Pics/8.jpg" alt="Image 8">
</a>
<a href="Pics/9.jpg">
<img src="Pics/9.jpg" alt="Image 9">
</a>
<a href="Pics/10.jpg">
<img src="Pics/10.jpg" alt="Image 10">
</a>
<a href="Pics/11.jpg">
<img src="Pics/11.jpg" alt="Image 11">
</a>
<a href="Pics/12.jpg">
<img src="Pics/12.jpg" alt="Image 12">
</a>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightgallery-js/1.4.0/js/lightgallery.min.js"></script>
<script>
lightGallery(document.querySelector('.lightGallery'))
</script>
</body>
<footer style="text-align: center; color: azure;">
<p style="padding-top: 25px;padding-bottom: 10px;"> All rights reserved by MUPPANA SAI KARTHIK.</p>
<p style="padding-bottom: 20px;">Designed in 2024</p>
</footer>
</html>