Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maccard
on Jan 30, 2022
|
parent
|
context
|
favorite
| on:
How to avoid layout shifts caused by web fonts
If you care that much you need to bundle the font with your site.
capableweb
on Jan 31, 2022
|
next
[–]
Yeah, I mean... Yeah. How is that an argument for just using `body {font-family: sans-serif}`?
Spivak
on Jan 30, 2022
|
prev
[–]
Which is what web fonts are. But you still have to handle the case and do something reasonable if the user or user-agent doesn’t load web fonts.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: