@font-face: a little tricky business

On the surface, web fonts are pretty easy, but in reality, they get complicated when we want them to work in all modern browsers. Some browsers use OTF, others use WOFF, and some use EOT, RTF, and SVG. Let's go over the full setup for making a web font work using the @font-face property.

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.