DEV Community

Discussion on: Most Common CSS Units Of Measure Explained

Collapse
 
willemodendaal profile image
Willem Odendaal

I read a bit more about this, and it seems that a Joan is correct. A "CSS pixel" is different from a hardware pixel.

"A CSS pixel, on the other hand, is designed to be roughly equivalent across devices. If you load the same website on side-by-side devices with a similar physical dimensions, but different pixel ratios, the website will appear to be roughly the same visual size."

A good read: juiceboxinteractive.com/blog/a-pix...