Posted By

xinger on 02/21/11


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

AllKnightAccess
happynuclear


Shadow along the top edge of the website


 / Published in: CSS
 

  1. body:before {
  2. content: "";
  3. position: fixed;
  4. top: -10px;
  5. left: 0;
  6. width: 100%;
  7. height: 10px;
  8.  
  9. -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
  10. -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
  11. box-shadow: 0px 0px 10px rgba(0,0,0,.8);
  12. z-index: 100;
  13. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: poliquinp on February 22, 2011

Sounds cool!

You need to login to post a comment.