Skip to content

Instantly share code, notes, and snippets.

@RockyMyx
Created June 4, 2013 15:52
Show Gist options
  • Save RockyMyx/5707064 to your computer and use it in GitHub Desktop.
Save RockyMyx/5707064 to your computer and use it in GitHub Desktop.
CSS: body-top-shadow.css
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