-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
137 lines (111 loc) · 3.65 KB
/
Copy pathindex.html
File metadata and controls
137 lines (111 loc) · 3.65 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Gallery</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
}
header {
background: url('https://source.unsplash.com/1600x900/?tech=code');
background-size: cover;
background-position: center;
text-align: center;
padding: 1em 0;
}
header h1 {
color: transparent;
font-size: 3em;
text-shadow: 4px 4px 8px #c9469b;
-webkit-text-stroke: 2px #ecff1f;
}
section {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
}
.gallery-item {
margin: 10px;
width: 300px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease-in-out;
border-radius: 8px;
cursor: pointer;
}
.gallery-item:hover {
transform: scale(1.05);
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}
footer {
text-align: center;
padding: 15px;
background: linear-gradient(#f8f8f8, #c9469b)
}
footer a {
text-decoration: none;
font-weight: 700;
}
</style>
</head>
<body>
<header>
<h1>Image Gallery</h1>
</header>
<section>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=web" alt="Image 1">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=app" alt="Image 2">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=dev" alt="Image 3">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=code" alt="Image 4">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=design" alt="Image 5">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=seo" alt="Image 6">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=marketing" alt="Image 7">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=network" alt="Image 8">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=security" alt="Image 9">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=cloud" alt="Image 10">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=database" alt="Image 11">
</div>
<div class="gallery-item">
<img src="https://source.unsplash.com/1600x900/?tech=mobile" alt="Image 12">
</div>
<!-- Add more gallery items as needed -->
</section>
<footer>
<div class="container">
<p>© 2020 • Image Gallery by <a href="https://github.com/Ajay-Dhangar">Ajay-Dhangar</a></p>
</div>
</footer>
</body>
</html>