What are CSS media queries? And what are they use for?
Experience Level: Junior
Tags: CSS
Answer
- @media queries are a popular technique for delivering a tailored style sheet (responsive web design) to desktops, laptops, tablets, mobile phones.
- You can also use @media queries to specify that certain styles are only for printed documents or for screen readers.
Related CSS job interview questions
Give an example of how you would use counter-increment and counter-reset in CSS to create automatic numbering within a webpage?
CSS MediorWhat is a CSS preprocessor?
CSS MediorWhat are the three main ways to add CSS to a webpage?
CSS JuniorWhat are the Sprites in CSS?
CSS JuniorWhat are the various techniques for clearing floats?
CSS Junior