DEV Community

Discussion on: Back to Basic: Should we use Rem, Em or Pixel?

Collapse
 
offcorner profile image
OffCorner Developer

the reason why I'm still using px for borders is that you typically don't want float numbers in pixels that are this small as some displays won't show them properly and will have to round to the nearest value. 0.1rem for example would default to 1.6px, which can look odd on some screens

Collapse
 
theodorusclarence profile image
Theodorus Clarence

Definitely, thanks for your addition!