Bulletproof @font-face syntax

Posted in HTML 5 | February 3rd, 2010

Bulletproof @font-face syntax « Paul Irish.

Let me introduce you to the best way to do your @font-face definitions:

@font-face {
  font-family: 'Graublau Web';
  src: url('GraublauWeb.eot');
  src: local('Graublau Web Regular'), local('Graublau Web'), 
         url('GraublauWeb.otf') format('opentype');
}

 

Leave a Reply

Categories

My Tweets

follow me on Twitter