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
(() => { function fn() { | |
// "On document ready" commands: | |
console.log(document.readyState); | |
}; | |
if (document.readyState != 'loading') {fn()} | |
else {document.addEventListener('DOMContentLoaded', fn)} | |
})(); |
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
// Slap this into an SVG logo for a cool, changing look. | |
// src: http://www.gradient-animator.com/ | |
background: linear-gradient(222deg, #41ceaa, #f3b902, #bc02f3, #e2ee43); | |
background-size: 800% 800%; | |
-webkit-animation: AnimationName 21s ease infinite; | |
-moz-animation: AnimationName 21s ease infinite; | |
animation: AnimationName 21s ease infinite; |