-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflag100.html
More file actions
78 lines (78 loc) · 2.15 KB
/
flag100.html
File metadata and controls
78 lines (78 loc) · 2.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Emoji 100</title>
<style>
body {
background: #e0f2ff;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
font-size: 3vw;
}
#closeTabBtn {
position: fixed;
right: 2vw;
bottom: 2vw;
font-size: 2vw;
padding: 0.7vw 2vw;
border-radius: 1vw;
z-index: 10;
}
#fullscreenImg {
max-width: 100vw;
width: 100vw;
height: auto;
display: block;
margin: 0 auto;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
#answerBtn {
position: fixed;
left: 2vw;
bottom: 2vw;
font-size: 2vw;
padding: 0.7vw 2vw;
border-radius: 1vw;
z-index: 10;
background: #fff;
border: 1px solid #ccc;
cursor: pointer;
}
#answerBox {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.5);
padding: 3vw 5vw;
border-radius: 2vw;
box-shadow: 0 0 2vw rgba(0,0,0,0.15);
z-index: 20;
text-align: center;
}
</style>
</head>
<body>
<img src="flag/100.png" alt="" id="fullscreenImg">
<button onclick="window.close()" id="closeTabBtn">Close Tab</button>
<button id="answerBtn" onclick="showAnswer()">Show Answer</button>
<div id="answerBox">
<h1>Dél-afrikai Köztársaság</h1>
<!-- You can replace "The Answer" with your actual answer -->
</div>
<script>
function showAnswer() {
document.getElementById('answerBox').style.display = 'block';
}
</script>
</body>
</html>