I am studying web development and it is difficult for me to determine what is equivalent in all of this.
I know that hardware pixels and physical pixels are the smallest unit, and density-independent pixels are mapped to actual hardware pixels through the pixel ratio of the device, and they are used to make viewing more consistent. Does this mean that the device-independent pixels that I see are the same thing?
Next, I read that the browser reports the width of the viewport in CSS pixels, are they and DIP the same?
I know that pixels per inch are literal, this is the number of pixels per inch, but how do they relate to DIP? A completely separate measurement? When should I use this instead?
I hope this is a suitable question, I have questions that mentally connect all these concepts with one useful map, and have not found another question on which they are all immediately considered.
source share