-
Notifications
You must be signed in to change notification settings - Fork 0
/
CocoaTheOne.html
64 lines (58 loc) · 1.59 KB
/
CocoaTheOne.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>I'm only the one.</title>
<style>
body {
background-color: gray;
color: #fff;
text-align: center;
margin: 0;
padding: 15px;
font-family: sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
#img {
width: 400px;
height: auto;
transition: all 1s ease-in-out;
opacity: 0;
transform: scale(1.5);
}
.zoomed {
opacity: 1;
transform: scale(1);
}
a {
position: relative;
z-index: 2;
}
.mastodon-link {
position: fixed;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
color: #fff;
text-decoration: none;
}
</style>
<script>
window.onload = function() {
setTimeout(function() {
document.getElementById("img").style.opacity = "1";
document.getElementById("img").style.transform = "scale(1)";
}, 500);
};
</script>
</head>
<body>
<img id="img" src="https://files.mastodon.social/accounts/avatars/111/470/305/626/910/504/original/26d855b2f4d5a866.jpg">
<a class="mastodon-link" rel="me" href="https://mastodon.social/@CocoaTheOne">Mastodon</a>
</body>
</html>