Media queries are typically written using the @________ rule in CSS.
- import
- media
- query
- screen
Media queries in CSS are written using the @media rule. This rule is used to apply different styles for different devices and conditions, allowing for responsive design.
Loading...
Related Quiz
- Which CSS property is more likely to require vendor prefixes for consistent appearance across browsers?
- An element with position: ________ is positioned based on the viewport and stays fixed when scrolling.
- You are tasked with creating a list where every even item has a gray background. Which CSS selector would help you accomplish this?
- When designing for Retina displays, the CSS property ________ can be used to provide different image resolutions based on the device's screen density.
- How can you apply multiple box shadows to one element?