Last active
September 26, 2017 16:00
-
-
Save eddyerburgh/e0632c030eb45e065ce4d8563202f93f to your computer and use it in GitHub Desktop.
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
var elements = document.querySelectorAll('link[rel=stylesheet]'); | |
for(var i=0;i<elements.length;i++){ | |
elements[i].parentNode.removeChild(elements[i]); | |
} | |
const link = document.createElement('link') | |
link.rel='stylesheet' | |
link.href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css" | |
document.body.append(link) | |
document.body.style.maxWidth = '700px' | |
document.body.style.margin = '0 auto' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment