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!

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 The Selectors Solution

Sebastian Finé
Sebastian Finé
2,972 Points

Syntax questions

So, I figured there is always the font I want, the family-name, and a generic font afterwards to support in cases my font will not load or something.

In the video the family name is nested in single things like this family-name. I have a QWERTZ Layout. I don´t even know how to make them. "family-name" works as well, as does family-name without any quotation marks.

On W3C it´s written with "", so I guess it´s the right format for the family-name?

1 Answer

Here is a quick explanation;

The quotes around the font name are necessary if the name contains white-space.