9 ms·
By using a string you are specifying on a particular installed font. For doing a fallback where the system chooses the particular appropriate font within a fami
by jedahan 15y ago
By using a string you are specifying on a particular installed font. For doing a fallback where the system chooses the particular appropriate font within a family, using the identifier form is better. See sans-serif vs. 'sans-serif' in that article.
- taylorfausak 15y agoI understand that CSS' generic fonts must be given as an identifier. I was wondering why you'd want to give a specific font family without quotes. These are equivalent, but I don't get why you'd use the former: font-family: Helvetica Neue, Helvetica, sans-serif; font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
- mathias 15y agoWhy not? :)