DEV Community

Discussion on: What even is em?

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 ?

kayla 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. 😊