anya-ji's picture
Add files using upload-large-folder tool
0f3a791 verified
Raw History Blame Contribute Delete
541 Bytes
<!DOCTYPE html>
<html>
<head>
<style>body {
background: #3498db;
font-family: sans-serif;
}
h1 {
position: relative;
color: rgba(0, 0, 0, .3);
font-size: 5em
}
h1:before {
content: attr(data-text);
position: absolute;
overflow: hidden;
max-width: 7em;
white-space: nowrap;
color: #fff;
animation: loading 8s linear;
}
@keyframes loading {
0% {
max-width: 0;
}
}</style>
</head>
<body>
<h1 data-text="It's loading…">It's loading…</h1>
<script></script>
</body>
</html>