-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtroll.html
101 lines (90 loc) · 2.34 KB
/
troll.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
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>LOL</title>
<style>
@import url('https://fonts.googleapis.com/css?family=Prompt|Montserrat');
.container {
margin: 0px;
top: 0;
bottom: 0;
left: 5vw;
right: 5vw;
width: 100vw;
height: 100vh;
}
body {
margin: 0px;
overflow: hidden;
}
.top {
height: 45vh;
}
.text {
text-align: center;
font-family: Montserrat, Prompt, Avenir, Sukhumvit set, Helvetica, Montserrat, Ariel, sans-serif;
font-weight: bold;
font-size: 5vh
}
.middle {
height: 30vh;
}
p {
margin: 0px;
animation: color-change 1s infinite;
}
@keyframes color-change {
0% {
color: #9400D3;
}
20% {
color: #4B0082;
}
40% {
color: #0000FF;
}
60% {
color: rgb(22, 177, 22);
}
80% {
color: #FF7F00;
}
100% {
color: #FF0000;
}
}
.trollface {
position: absolute;
left: 0px;
top: 0px;
z-index: -1;
animation: trollface 15s infinite;
}
@keyframes trollface {
0% {
top: 10vh;
left: -100vw;
}
100% {
top: 10vh;
left: 110vw;
}
}
</style>
</head>
<body>
<div class="container">
<div class="top"></div>
<p class="text">คิดเองสิจ๊ะฟาย LOLOLOL
</p>
<div class="middle"></div>
<p class="text delay" style="font-size: 3vh">for person who don't have a sense of humor
<a href="https://www.google.com/maps">www.google.com/map</a><a href="index.html">s</a>
</p>
</div>
<img src="TrollFace.jpg" style="height:40vw" alt="LOL" class="trollface">
</body>
</html>