Created
August 13, 2018 21:56
-
-
Save saylestyler/37012fc00e7d37e28e04c702cce42d90 to your computer and use it in GitHub Desktop.
bouncey pg
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
// paste in console on safari reader lmao | |
(function(d) { | |
var s = d.createElement('style'); | |
var c = '#background{background:#f773b5 url(https://i.imgur.com/bB7aD.jpg)}h1.title,.page{font-family:"Comic Sans MS"!important}'; | |
c += 'h1.title{color:#f773b5}.page{background:rgba(255,255,255,.9);-webkit-animation-name:f;-webkit-animation-duration:5s;'; | |
c += '-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes f{'; | |
c += '0%{-webkit-transform:rotate(0) scale(1)}25%{-webkit-transform:rotate(-4deg) scale(.95)}50%{-webkit-transform:rotate(0) scale(1)}'; | |
c += '75%{-webkit-transform:rotate(4deg) scale(.95)}100%{-webkit-transform:rotate(0) scale(1)}}'; | |
s.appendChild(d.createTextNode(c)); | |
d.head.appendChild(s) | |
}(document)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment