DEV Community

Discussion on: Units in CSS (em, rem, pt, px, vw, vh, vmin, vmax, ex, ch, ...)

Collapse
 
deiga profile image
Timo Sand

A quick way to jump on the relative size bandwagon: Replace all uses of px with rem and adjust accordingly :)

Collapse
 
sebbdk profile image
Sebastian Vargr

Reporting back, did this.

Thank you.

Thread Thread
 
deiga profile image
Timo Sand

Nice! πŸŽ‰

Collapse
 
sebbdk profile image
Sebastian Vargr

I need to align it with teams of mixed experience already making lots of other more major mistakes, telling people to use px values is a lot easier than adding to the pile of things to learn :/

I agree tho, it’s a good way to start a migration. :)