-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (57 loc) · 1.64 KB
/
index.html
File metadata and controls
60 lines (57 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Picture Gallery</title>
<style>
/* Apply a diagonal gradient background */
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #000000, #1a1a1a, #2c2c2c);
display: grid; /* Using grid instead of flex */
place-items: center; /* Center everything with grid */
min-height: 100vh;
}
/* Gallery container */
.container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
width: 90%;
max-width: 1200px;
padding: 20px;
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.7);
}
/* Image styling */
.container img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 12px;
transition: transform 0.4s ease, box-shadow 0.4s ease;
cursor: pointer;
}
/* Hover effect */
.container img:hover {
transform: scale(1.05);
box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.2);
}
</style>
</head>
<body>
<div class="container">
<img src="Geto.jpeg" alt="Geto">
<img src="Gojo.jpeg" alt="Gojo">
<img src="Megumi.jpeg" alt="Megumi">
<img src="Nobara.jpeg" alt="Nobara">
<img src="Yuuji.jpeg" alt="Yuuji">
<img src="Yuta.jpeg" alt="Yuta">
<img src="Sukuna.jpeg" alt="Sukuna">
<img src="Nanami.jpeg" alt="Nanami">
</div>
</body>
</html>