Skip to content

Instantly share code, notes, and snippets.

@ruthenium
Created July 23, 2012 22:16
Show Gist options
  • Save ruthenium/3166588 to your computer and use it in GitHub Desktop.
Save ruthenium/3166588 to your computer and use it in GitHub Desktop.
Interesting idea of creating a very thin shadow just after the modal elements of the browser window. From spyrestudious.com
body:before {
content: "";
position: fixed;
top: -10px;
left: 0;
width: 100%;
height: 10px;
-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
box-shadow: 0px 0px 10px rgba(0,0,0,.8);
z-index: 100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment