Web features explorer

Media queries

Widely available
Tags: css Groups: CSS > Media queries

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. To learn more, see @media at MDN.

Compatibility (view on caniuse.com)