Skip to content

Instantly share code, notes, and snippets.

@sligodave
Forked from adamschwartz/instant-flat-ui.js
Created November 7, 2013 18:11
Show Gist options
  • Save sligodave/7359231 to your computer and use it in GitHub Desktop.
Save sligodave/7359231 to your computer and use it in GitHub Desktop.
var d = document.createElement('div');
d.innerHTML = '\
<style>\
*:not(.icon):not(i), *:not(.icon):not(i):after, *:not(.icon):not(i):before {\
box-shadow: none !important;\
text-shadow: none !important;\
background-image: none !important;\
border-radius: 0 !important;\
}\
*:not(.icon):not(i) {\
border-color: transparent !important;\
}\
</style>\
';
document.body.appendChild(d);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment