cross-browser "bullet-proof" CSS3 @font-face syntax
Asked Answered
A

1

10

I have seen many attempts at a cross-browser @font-face syntax including the:

Which one is best? Which one has the best browser support?
I'm not worrying about IE 5 support, :) but I don't want a browser to have to download multiple versions of the same font.

Thanks guys!

Aerobiosis answered 2/2, 2012 at 5:38 Comment(0)
P
10

The New Bulletproof @Font-Face Syntax is the latest iteration, so your best bet is to use that one.

If you’re interested in the different syntaxes and how they came to be (and why all those weird hacks are needed), I’d suggest watching Jake Archibald’s #fronteers11 presentation. Slides are here.

Pikeperch answered 2/2, 2012 at 6:8 Comment(1)
I'm trying the font springs syntax and it isn't working in IE8. Has anything changed since this was posted?Launch

© 2022 - 2024 — McMap. All rights reserved.