-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (71 loc) · 1.81 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>>wires</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<style>
@keyframes wirin {
25% { background-size: 40px; }
30% { background-size: 90px; }
35% { background-size: 50px; }
40% { background-size: 30px; }
45% { background-size: 43px; }
50% { background-size: 50px; }
55% { background-size: 80px; }
100% { background-size: unset; }
}
body {
background: black;
text-align: center;
font-family: monospace;
font-size: 50pt;
}
#meme-format { color: rgb(48, 184, 109); }
#two {
color: red;
background: none;
outline: none;
font: inherit;
padding: 2px;
border: none;
}
#thebackground {
background-image: url("wires.png");
background-repeat: repeat;
background-size: 60px;
display: inline-block;
animation: wirin 6s infinite;
}
html {
cursor: url("wire.png") 16 16, auto;
height: 100%;
}
</style>
<div id="meme-format">
<span id="one">>buy wireless device</span>
<br>
<span id="two" style="text-decoration: underline;">>look inside</span>
<br>
<span id="three">>wires</span>
</div>
</body>
<script>
let elem = document.getElementById("two")
let audio = new Audio("dubidubidu.mp3");
audio.loop = true;
ready = false;
document.onclick = (evt) => {
// we can deadlock :3
if (evt.target != document.documentElement || !ready) return;
audio.paused ? audio.play() : audio.pause()
}
elem.addEventListener("click", function myfunc() {
audio.play();
ready = true;
elem.parentElement.remove();
document.body.id = "thebackground";
})
</script>
</html>