Skip to content

Instantly share code, notes, and snippets.

@udkl udkl/top_shadow
Created Jul 20, 2012

Embed
What would you like to do?
Top Shadow to HTML page
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;
}
http://css-tricks.com/snippets/css/top-shadow/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.