Skip to content

Instantly share code, notes, and snippets.

@sytone
Created February 26, 2021 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sytone/f5c944fabd54b7fac3ac16a74145cea1 to your computer and use it in GitHub Desktop.
Save sytone/f5c944fabd54b7fac3ac16a74145cea1 to your computer and use it in GitHub Desktop.
yLVvKwy
let posts = [
"DIRECTED BY",
"Jon Bullen",
"",
"",
"PRODUCED BY",
"Jon Bullen",
"",
"",
"POWERED BY",
"Coffee",
"",
"",
"THANKS TO",
"The Azure Usage Billing Group",
"Digby and Mo",
"",
"",
"",
"The cake is a lie"
];
(() => {
posts.map((p) => {
document.querySelector('.container').innerHTML += `<div>${p}</div>`
})
})()
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');
body {
background: limegreen;
color: white;
font-size: 3.5em;
font-family: 'Montserrat', sans-serif;
}
div {
text-align: center;
padding-bottom: 50px;
}
.container {
animation: scoot 40s linear infinite;
}
@keyframes scoot {
from {
transform: translateY(30%);
}
to {
transform: translateY(-100%);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment