Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Difference between physical device pixels and CSS pixels

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #235931
    onurcan1977
    Participant

    Hello, I’m trying to learn basics of CSS and something makes me confuse.

    I learned that CSS pixels has got nothing to do with physical device pixels. Device pixels are pixel density of screen resolution, am I right? Do I have to consider this while coding in any programming language in practical?

    #235932
    Shikkediel
    Participant

    Probably only for the resolution of images (they tend to get pixelated on high res devices) and when you’re trying to target pixel ratio specifially in media queries. For the rest, you’d don’t really have to take them into account at all.

    #235933
    onurcan1977
    Participant

    I got it. Thanks for your reply.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.