Media queries

baseline logo Widely available in browsers but not in WebViews

The @media CSS rule conditionally applies styles based on the output device type, its capabilities, and the user’s preferences. Media queries are composed of an optional media type such as screen or print, and one or more mandatory media features, such as prefers-reduced-animations.