4 ms·
> "it's not important if the default font is used". That's also what they said. They said "You may as well just do 'serif' or 'sans-serif' and be done with it.
by hLineVsLineH 4y ago
> "it's not important if the default font is used".
That's also what they said. They said "You may as well just do 'serif' or 'sans-serif' and be done with it."
> Now I understand that you also say that default fonts are not necessarily well designed.
While fonts are a matter of taste, objectively speaking fonts that comes preinstalled on systems often have very few weights and support only a very limited range of glyphs. They also lack features such as small caps, old-style numbers, etc.
Usually, though, the main, default sans-serif and/or UI font on the system are much better than some random font that just happens to be included in the system. So you will usually be better off using `sans-serif` than any of these font stacks.
> I guess that happens when people assume that the web font will be loaded and don't default to (sans-)serif in their font-familly CSS property.
But this is just yet another reason why using font stacks is bad...? If instead you just use `serif` or `sans-serif` it will follow the user's font preference.