To target high-resolution displays in a media query, the ________ feature is commonly used.

  • resolution
  • device-pixel-ratio
  • screen-size
  • aspect-ratio
The correct option is "device-pixel-ratio." This feature is commonly used in media queries to target high-resolution displays by specifying the ratio of physical pixels to CSS pixels on the device.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *