i

Learn HTML and CSS in 10 Days

CSS Media Queries

CSS Media query is a W3C proposal and a CSS3 module that is utilized to adjust to conditions, for example, screen goals (for example, PC screen Vs. Smartphone screen). Let’s have a look at some of its features.

  • Color – It says the no. of bits/ color component.

  • Color-index – It tells the total number of entries present in the color lookup table.

  • Device-aspect-ratio – It determines the aspect ratio of the device used.

  • Device-height – It tells the height of the output device.

  • Device-width – It tells the width of the output device.

  • Grid – Right for devices that are grid-based.

  • Monochrome – It tells the total number of bits/pixel ina monochrome frame buffer.

  • Resolution – It determines the resolution of the screen display.