Is it better to use ems/rems than px for font-size?

This section is for web design related questions.
Post Reply
Accrete
Administrator
Posts: 1117
Joined: Fri Nov 08, 2019 12:44 am
Latest blog post: Have You Read the Webmaster Guidelines Yourself?
Answers: 1
Reputation: 732
Location: Canada
Has thanked: 22 times
Been thanked: 95 times
Contact:

Is it better to use ems/rems than px for font-size?

Post by Accrete »

Are you still using px for font-size and other things?
...it's still worth setting all your type (both font-size and line-height) in relative units because:

1. setting type in px prevents browser settings from making font size adjustments (which some people definitely use) and
2. setting type in relative units maintains greater design fidelity as users use browser zoom (which a lot of people definitely use).
Is it better to use ems/rems than px for font-size?


Yours truly,
Accrete Web Solutions

SEO troubleshooting and review services available. - Pm me.

Post Reply

Return to “Web Design and UX”

Who is online

Users browsing this forum: No members and 20 guests