Categories
CSS Design Real type on the web webfonts webtype

Bulletproof @font-face

Zeldman

Real type on the web. All the kids are doing it. But maybe we’re doing it wrong. After testing several CSS @font-face syntax variants, including one used on this site, Paul Irish says the following is clearly best:

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

Read more: “Bulletproof @font-face syntax” at paulirish.com.

By Jeffrey Zeldman

“King of Web Standards”—Bloomberg Businessweek.

Hi! I’m a principal designer at Automattic, Inc. Also: Publisher and founder, A List Apart “for people who make websites.” Publisher and co-founder, A Book Apart—brief books for people who design, write, and code. Co-founder and co-host, An Event Apart UX & front-end conference. Faculty, MFA Interaction Design, School of Visual Arts, NYC. Host, The Big Web Show. Have written two books, notably ”Designing With Web Standards,“ currently in its 3rd Edition, and, on last count, translated into 15 languages and used as a text in 85 universities.