Shadow along the top edge of the website


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  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

You need to login to post a comment.