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

Generally you want to use rem for setting the font-size of the elements and to controll overall spacing.

em is often used for the padding of elements. For example buttons that exist in different sizes.



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

Search: