-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
223 lines (222 loc) · 8.07 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE html>
<html>
<style>
.center-this {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.nav-menu {
position:relative;
margin-bottom: 1em;
padding: 0 50px 0 50px;
background: linear-gradient(10deg, black, gray, transparent, gray, black);
max-width: max-content;
border-top-left-radius: 100%;
border-bottom-right-radius: 100%;
}
.nav-menu:hover {
background: linear-gradient(35deg, blue, #CCFFFF, #FFCCCC, red, indigo);
right: 0;
animation-name: screen-glitch, shake;
animation-duration: 1s, 0.3s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-choice {
display: flex;
flex-direction: row;
justify-content: flex-start;
}
#menu-item {
position: relative;
padding: 0 10px 0 10px;
}
li {
font-style: italic;
}
.stylized-list {
position: relative;
background: linear-gradient(35deg, blue, #CCFFFF, #FFCCCC, red, indigo);
text-transform: capitalize;
width: 350px;
max-height: 1px;
color: black;
padding: 10px 0 10px 0;
text-align: center;
font-style: italic;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.stylized-list:hover {
background: linear-gradient(10deg, black, gray, transparent, gray, black);
right: 0;
animation-name: shake;
animation-duration: .3s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#different:hover {
bottom: 0;
animation-name: up-down;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}
#border-this {
z-index: 0;
min-width: max-content;
border-style: dotted;
border-width: 3px;
padding: 0.5em 1em 0.5em 1em;
display: flex;
flex-direction: column;
align-items: center;
border-top-style: solid;
border-bottom-style: solid;
}
#banner {
min-width: max-content;
color: rgba(255, 255, 255, 0.9);
background-color: teal;
background-image: url(https://i.redd.it/2ol5uo7zmkf01.png);
background-blend-mode: difference;
background-size: cover;
background-position-y: 50%;
padding: 1rem 2rem 1rem 2rem;
box-shadow: 0 0 5px 5px orangered, 0 0 5px 10px yellow, 0 0 5px 15px green;
}
#stuck:hover {
animation-name: stuck;
animation-duration: 500ms;
animation-fill-mode: forwards;
animation-iteration-count: 1;
animation-timing-function: ease-in;
animation-play-state: running;
}
.swag {
background: linear-gradient(45deg, cyan, white, pink);
box-shadow: 0px 0 0 0 transparent;
animation-name: screen-glitch;
animation-duration: 2000ms;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
opacity: 1;
transform: initial;
}
@keyframes screen-glitch {
25% {
box-shadow: 0px 0 0 0 transparent;
opacity: 1;
}
28% {
background: linear-gradient(45deg, cyan, white, pink);
box-shadow: 5px 0 0 0 red;
opacity: 0.9;
}
31% {
transform: skew(0deg, 0deg);
background: linear-gradient(45deg, cyan, white, pink);
box-shadow: 5px 0 0 0 red;
opacity: 0.9;
}
32% {
box-shadow: 2px 0 0 4px blue, -4px 0 0 5px red;
transform: skew(3deg, -1deg);
opacity: 1;
}
33% {
transform: skew(-42deg, 5deg);
background: linear-gradient(90deg, black 10px, white 30px, black);
box-shadow: 22px 0 3px 0 lime, -5px 6px 2px 5px pink, 0px 3px 1px 5px indigo;
opacity: 0.5;
}
33.5% {
transform: skew(0deg, 0deg);
}
35% {
background: linear-gradient(45deg, cyan, white, pink);
box-shadow: 0 0 0 3px red;
opacity: 0.1;
}
37% {
box-shadow: -5px 7px 20px 20px purple;
opacity: 0.9;
}
37.5% {
box-shadow: -2px 2px 0 4px cyan;
opacity: 1;
}
38% {
box-shadow: 0 0 0 0 transparent;
opacity: 1;
}
}
@keyframes shake {
50% {
right: 1%;
}
}
@keyframes up-down {
50% {
bottom: 20vw;
}
}
@keyframes stuck {
0% {
color: transparent;
font-size: 100%;
}
50% {
font-size: 200%;
}
100% {
font-size: 100%;
color: black;
}
}
</style>
<head>
<title>Hello World!</title>
<header class="center-this">
<h1 style="letter-spacing: 10px" id="banner">I said 'Hello World!'. </h1>
<div class="nav-menu nav-choice center-this">
<div id="menu-item">THIS</div>
<div id="menu-item">is</div>
<div id="menu-item">a</div>
<div id="menu-item">MESSAGE</div>
</div>
</header>
</head>
<body class="center-this" style="background-color: white">
<aside id="border-this" style="background-color: gray; box-shadow: 0px 30px 20px 10px; transform: skew(1deg, -1deg)">
<div id="border-this" class="swag">
<h2 style="text-align: center; text-transform: uppercase">Things I'd like to know</h2>
<ol type="1">
<li class="stylized-list">Where are the cookies?</li>
<li class="stylized-list" id="stuck" style="color: transparent">How do you get them?</li>
<li class="stylized-list">What do you do once you get them?</li>
<li class="stylized-list" id="different">Why is CSS/HTML so hard??</li>
</ol>
<form action="https://google.com" name="random" style="display: flex; flex-direction: row; justify-content: center;">
<label for="birthday" style="display:flex; align-items:flex-end">
DoB:
</label>
<input type="date" name="birthday" id="birthday" style="margin-left: 5px">
<label for="submit" style="display:flex; justify-content: center; align-items: center;"></label>
<input type="submit" name="submit" id="submit" value="Click" style="margin-left: 5px">
</form>
<br>
</div>
</aside>
</body>
<hr style="background: linear-gradient(90deg, gray 5%, darkgray 75%, gray); width: 65px; height: 20px; margin: 1px 0 1px 0" id="border-this">
<foot>
<footer>
<div style="text-align: center; padding: 1em 1em 1em 1em; background: linear-gradient(0deg, gray, darkgray, gray)" id="border-this">Copyright SPYDERMAYNE 2020</div>
</footer>
</foot>
</html>