Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Basics (2014) Enhancing the Design With CSS Web Fonts with @font-face

How often is @font-face used in real practice?

As a novice, I perceive it as an obsolete approach towards visitors viewing the fonts that I want to appear on the page. Google Fonts is so much more streamlined. Is an advantage towards @font-face the assurance that the font will not break because the font is installed on the visitor's computer?

1 Answer

Chris Shaw
Chris Shaw
26,676 Points

@font-face is used by millions of sites daily, it may not seem like it on the outside; but Google Fonts use @font-face too since it's the only way to load custom and third-party fonts for your website via CSS.

Hope that helps.