What does px mean in CSS? I thought it was pixels but clearly not...
What does px mean in CSS? I thought it was pixels but clearly not...
I wonder why it doesn't mention the definition of the reference pixel for high resolution devices. Which is the angle you get when you hold a 96dpi image exactly 28 inches from your eye. If your screen is 1.5x further you make the pixel 1.5x bigger, if your screen is 3x closer you make the pixel 3x smaller, etc.
How can you use this vague definition to do anything useful?
I would imagine they simply mean 'it's a pixel, or something as physically large as pixels used to be until we got retina screens' but they can't say that as it doesn't sound technical enough!
> the default font size for most browsers is 16px
I mean fonts are usually not 16 pixels in size - 16 pixels is a couple of a mm on most screens these days.