crossbrowser css shadow


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



Copy this code and paste it in your HTML
  1. -moz-box-shadow: 1px 5px 10px #000;
  2. -webkit-box-shadow: 1px 5px 10px #000;
  3. box-shadow: 1px 5px 10px #000;
  4. /* For IE 8 */
  5. -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  6. /* For IE 5.5 - 7 */
  7. filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.