Cross Browser Text-Shadow(IE included)


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



Copy this code and paste it in your HTML
  1. p {
  2. text-shadow: #000000 0 0 1px;
  3. zoom:1;
  4. filter: progid:DXImageTransform.Microsoft.Glow(Color=#000000,Strength=1);
  5. -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=-1, OffY=-1, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=-1, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=-1, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=0, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=1, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=1, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=-1, OffY=1, Color=#000000)progid:DXImageTransform.Microsoft.dropshadow(OffX=-1, OffY=0, Color=#000000)";
  6.  
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.