Media queries using the orientation feature can detect if the device is in ______ or ______ mode.
- light, dark
- mobile, desktop
- portrait, landscape
- vertical, horizontal
Media queries with the orientation feature are used to detect whether the device is in portrait or landscape mode. This is valuable in responsive web design as it allows you to adjust the layout and styling based on the device's orientation, ensuring a better user experience.
Loading...
Related Quiz
- Which SASS/SCSS feature allows you to pass values when including a mixin?
- How can you make the text of an element bold using CSS?
- You want to overlay a button on top of an image. The button should be at the bottom right corner of the image. How would you position the button using CSS?
- The CSS unit vh represents a percentage of the ________.
- Which display value would you use to hide an element but keep its space in the layout?