box-shadow with inset variation


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



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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.