Created
February 26, 2021 17:17
-
-
Save sytone/f5c944fabd54b7fac3ac16a74145cea1 to your computer and use it in GitHub Desktop.
yLVvKwy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>` | |
}) | |
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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