Cal9233 / Redux-Assignment

0 stars 0 forks source link

Question 8: How do you target high-resolution displays using media queries? #3

Open radika-insfra opened 1 year ago

radika-insfra commented 1 year ago

Your answer : Using CSS breakpoints


You can target high-resolution displays using media queries by specifying a minimum pixel density.

For example, @media only screen and (min-resolution: 300dpi) { /* CSS rules here */ } targets screens with a minimum pixel density of 300 dots per inch.


Cal-Ell commented 1 year ago

To target High resolution displays using media queries you can use min-resolutions to specify minimum pixel density.