Skip to content

Instantly share code, notes, and snippets.

@gotmayonase
Created November 7, 2013 19:50
Show Gist options
  • Save gotmayonase/7360783 to your computer and use it in GitHub Desktop.
Save gotmayonase/7360783 to your computer and use it in GitHub Desktop.
Add Depth to the Web
var d = document.createElement('div');
d.innerHTML = "\
<style>\
*:not(.icon):not(i), *:not(.icon):not(i):after, *:not(.icon):not(i):before {\
box-shadow: 0px 0px 4px 0px #000 !important;\
text-shadow: 1px 1px 3px #fff !important;\
}\
body { \
background-image: url(http://meepletown.com/wp-content/uploads/2012/07/depth.jpg) !important;\
} \
</style>\
";
document.body.appendChild(d);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment