Posted By

Savio on 04/13/11


Tagged

css drop shadow


Versions (?)

Drop Shadow (with bad support for ie8. There is no other option )


 / Published in: CSS
 

  1. button, .btn{
  2. -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  3. -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  4. text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
  5. border-bottom: 1px solid rgba(0,0,0,0.25);
  6. -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#CCCCCC')";
  7. }

Report this snippet  

You need to login to post a comment.