-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelloworld.html
More file actions
49 lines (48 loc) · 1.36 KB
/
helloworld.html
File metadata and controls
49 lines (48 loc) · 1.36 KB
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
<style>
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
*{
background-color: #222;
color: white;
}
body{
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-family: "Ubuntu", sans-serif;
background-image: url(https://i.giphy.com/dB66K4Kywc8gPVh6A7.webp);
background-size: cover;
color: transparent;
-moz-background-clip: text;
-webkit-background-clip: text;
margin: 10px 0;
font-size: 10vw;
text-shadow: rgb(255,255,255,25%) 0 0 5vw;
transition: 10s;
}
</style>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7J3YJQYZ30"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-7J3YJQYZ30');
</script>
</head>
<body>
<h1>
Hello World!
</h1>
</body>
<script>
setTimeout(function () {
document.querySelector("h1").style.textShadow = "rgb(255,255,255,30%) 0 0 7.5vw";
}, 100);
setTimeout(function () {
document.querySelector("h1").style.textShadow = "rgb(255,255,255,20%) 0 0 2vw";
document.querySelector("h1").style.fontSize = "11vw";
}, 10250);
</script>