Skip to content

Instantly share code, notes, and snippets.

@adamschwartz
Last active December 27, 2015 15:39
Show Gist options
  • Save adamschwartz/7348752 to your computer and use it in GitHub Desktop.
Save adamschwartz/7348752 to your computer and use it in GitHub Desktop.
"Instant" "Flat" "UI"™ — Run this bookmarklet on any page to make it "flat".
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;\
}\
*: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