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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *