Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pabue
on July 17, 2020
|
parent
|
context
|
favorite
| on:
Things I wish I’d known about CSS
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:
em is often used for the padding of elements. For example buttons that exist in different sizes.