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


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



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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.