Last active
October 13, 2018 20:23
-
-
Save chrishutchinson/9908f9442b7fc7e7b4fc749df7cacb53 to your computer and use it in GitHub Desktop.
Hacking with JavaScript and Shortcuts (#1)
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
const barrelRollStyleTag = document.createElement("style"); | |
barrelRollStyleTag.innerText = ` | |
@keyframes roll { | |
from { -webkit-transform: rotate(0deg) } | |
to { -webkit-transform: rotate(360deg) } | |
} | |
body { | |
animation: roll 4s 1; | |
} | |
`; | |
document.head.appendChild(barrelRollStyleTag); | |
completion(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment