HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ourcat | Hacker News Reader
Parent
Full thread
ourcat
·
That's right. `em`, `rem` or `px`.
View on HN
kevincox
·
rem and px won't be based on the size of the surrounding text. rem is based on the size of text on the HTML (IIRC) element and px is based on display pixels.
Reply on news.ycombinator.com