Which CSS property is used to specify different styles for different screen sizes?
- media-query
- responsive-style
- screen-style
- viewport-style
Media queries are used to apply different styles for different screen sizes. They allow you to create responsive designs by adapting the layout and styles based on the characteristics of the device or browser.
Loading...
Related Quiz
- You're designing a button that, when clicked, shows a loading spinner. The spinner should rotate continuously. Which properties are crucial for this effect?
- To delay the start of a CSS animation, the property animation-________ is used.
- A developer is optimizing a website for faster load times. They notice that the CSS is blocking the rendering of the page. What strategy should they employ to reduce render-blocking CSS?
- Explain the concept of mobile-first design in the context of responsive web design.
- In CSS, the universal selector (*) has the lowest specificity value and it can be overridden by any __________ selector.