-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths.html
More file actions
45 lines (41 loc) · 979 Bytes
/
Copy paths.html
File metadata and controls
45 lines (41 loc) · 979 Bytes
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
<!DOCTYPE html>
<html>
<head>
<style>
/* Small preview */
.thumb {
width: 150px;
cursor: pointer;
border-radius: 8px;
}
/* Overlay */
.overlay {
display: none; /* hidden by default */
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.7);
z-index: 9999;
justify-content: center;
align-items: center;
}
.overlay img {
max-width: 90%;
max-height: 80%;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
</style>
</head>
<body>
<!-- Thumbnail -->
<img src="sdg goals.png"
alt="Click to view"
class="thumb"
onclick="document.getElementById('viewer').style.display='flex'">
<!-- Overlay -->
<div id="viewer" class="overlay" onclick="this.style.display='none'">
<img src="sdggoals .jpg" alt="Large View">
</div>
</body>
</html>