Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The circular reference is because em and ex are relative to the font size of the surrounding context, and you need to pick a physical (or derivable-from-physical) unit for the root context. em and ex always refer to the M and x height because that's how fonts work in the old "lead type" world.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: