Posted By

adambundy on 11/18/10


Tagged

css CSS3


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

adambundy
britevents


box-shadow with inset variation


 / Published in: CSS
 

  1. .box-shadow {
  2. -moz-box-shadow: 0px 1px 8px #000; /* Firefox */
  3. -webkit-box-shadow: 0px 1px 8px #000; /* Safari, Chrome */
  4. box-shadow: 0px 1px 8px #000; /* CSS3 */
  5. }
  6.  
  7. .box-shadow-inset {
  8. -moz-box-shadow: inset 0px 1px 8px #000; /* Firefox */
  9. -webkit-box-shadow: inset 0px 1px 8px #000; /* Safari, Chrome */
  10. box-shadow: inset 0px 1px 8px #000; /* CSS3 */
  11. }

Report this snippet  

You need to login to post a comment.