forked from lingonsaft/hacktoberfest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
polka-party.html
33 lines (31 loc) · 958 Bytes
/
polka-party.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
<!DOCTYPE html>
<html>
<head>
<title>🍺 Polka Party!</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<style text="text/css">
@keyframes its-party-time {
0% {transform:rotate(0deg);}
25% {transform:rotate(540deg) translate(-5em, -10em) scale(2);}
50% {transform:rotate(-90deg) translate(5em, 5em) scale(.2);}
100% {transform:rotate(360deg) translate(0) scale(1);}
}
body {
margin: 0;
background: #000;
}
iframe {
width: 100%;
height: 100vh;
animation-name: its-party-time;
animation-duration: 30s;
animation-delay: 5s;
animation-iteration-count: 5;
}
</style>
</head>
<body>
<iframe width="560" height="315" src="https://www.youtube.com/embed/j11MOncimNQ?rel=0&showinfo=0&start=25&autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</body>
</html>