Posted By

noelj on 11/08/10


Tagged

css box shadow


Versions (?)

CSS Box Shadow


 / Published in: CSS
 

URL: http://css-tricks.com/snippets/css/css-box-shadow/

  1. .shadow {
  2. -moz-box-shadow: 5px 5px 5px #ccc;
  3. -webkit-box-shadow: 5px 5px 5px #ccc;
  4. box-shadow: 5px 5px 5px #ccc;
  5. }
  6.  
  7. /*Inner shadow*/
  8. .shadow {
  9. -moz-box-shadow:inset 0 0 10px #000000;
  10. -webkit-box-shadow:inset 0 0 10px #000000;
  11. box-shadow:inset 0 0 10px #000000;
  12. }

Report this snippet  

You need to login to post a comment.