The Ultimate Guide to CSS Length Units
Should you always use pixels? What’s the difference between em and rem? Let’s walk through all the options you’ve got.
Published in
7 min readMar 1, 2021
I’ve been working with CSS for years, and I must confess: I never completely understood CSS units until recently. There are so many options that it’s easy for a developer to stick only to the ones they…