-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (23 loc) · 2.1 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="https://raw.githubusercontent.com/sixteenbit/hypnotoad/master/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://raw.githubusercontent.com/sixteenbit/hypnotoad/master/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://raw.githubusercontent.com/sixteenbit/hypnotoad/master/img/favicon-16x16.png">
<title>ALL GLORY TO THE HYPNOTOAD!</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Anton&display=swap" rel="stylesheet">
<style>
body {margin: 0;padding: 15px;position: relative;height: 100vh;animation: colorchange 2.5s linear 1s infinite; /* animation-name followed by duration in seconds*//* you could also use milliseconds (ms) or something like 2.5s */-webkit-animation: colorchange 2.5s linear 0s infinite alternate; /* Chrome and Safari */} .content {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);} .content h1 {font-size: 48px;font-family: 'Anton', sans-serif;;text-align: center;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;} .hypnotoad {display: block;margin: 0 auto;width: 480px;max-width: 100%;height: auto;border: 0;} @keyframes colorchange { 0% {background: red;color: cyan;} 33% {background: green;color: magenta;} 66% {background: blue;color: yellow;} 100% {background: red;color: cyan;} } @-webkit-keyframes colorchange /* Safari and Chrome - necessary duplicate */{ 0% {background: red;color: cyan;} 33% {background: green;color: magenta;} 66% {background: blue;color: yellow;} 100% {background: red;color: cyan;} }
</style>
</head>
<body>
<div class="content">
<img class="hypnotoad" src="https://raw.githubusercontent.com/sixteenbit/hypnotoad/master/img/hypnotoad.gif" alt="ALL GLORY TO THE HYPNOTOAD!">
<h1>ALL GLORY TO THE HYPNOTOAD!</h1>
</div>
</body>
</html>