Posted By

thewickedchemist on 12/01/11


hack font-face

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Fix Custom @Font-Face Display Issues in Webkit Browsers

 / Published in: CSS

Sometimes fonts are not rendered properly in webkit browsers, this little hack will smooth them out and make them beautiful again.

  1. /* Best used with custom @font-face stacks... */
  3. @media screen and (-webkit-min-device-pixel-ratio:0) {
  4. h1 { font-family: "Your Custom Font", Arial, Verdana, San-Serif; }
  5. }

Report this snippet  

You need to login to post a comment.