4 ms·
I've been writing "font-family: sans-serif" when I wanted user preferred font without serifs and "monospace" for user preferred monospace font. Is that not the
by dvh 2y ago
I've been writing "font-family: sans-serif" when I wanted user preferred font without serifs and "monospace" for user preferred monospace font. Is that not the correct way?
- singpolyma3 2y agoIndeed you are doing it correctly
- kragen 2y agoYes, those are web-safe fonts.
- tobr 2y agoDepends heavily on what you mean with ”user preferred”. Approximately 0% of users will have made an active choice on what sans-serif typeface they prefer.
- wruza 2y agoI tried to change browser defaults before, but that made some sites look strange because developer’s assumptions about defaults were merged with the design. Today when I want to change the font, I just add a per-site StyleBot rule.
- deleted 2y ago[deleted]