DEV Community

loading...

Discussion on: What even is em?

Collapse
nguyentuan1696 profile image
Tuan Nguyen

i learned from a course on udemy that when set font-size 62.5% in html tag, using rem easier to control, what do you think about this ?

Collapse
kaylasween profile image
Kayla Sween Author

It just makes the math easier. As long as you're not setting the font size to 10px explicitly (as this has negative accessibility impacts), it's just personal preference. I don't mind working with 16px, so I just prefer not to change it. 😊