https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_features
Skip to main content Skip to search Skip to select language Technologies Technologies Overview HTML CSS JavaScript Graphics HTTP APIs Browser Extensions MathML References & Guides Learn web development Tutorials References Developer Guides Accessibility Game development ...more docs Feedback Send Feedback Contribute to MDN Report a content issue 🌐 Report a platform issue 🌐 Search MDN Web technology for developers CSS: Cascading Style Sheets @media Change language Table of contents Syntax Description Accessibility concerns Security Formal syntax Examples Specifications Browser compatibility See also The @media CSS at-rule can be used to apply part of a style sheet based on the result of one or more media queries . With it, you specify a media query and a block of CSS to apply to the document if and only if the media query matches the device on which the content is being used. Note:...