Recommendation: Media Queries Level 3

Media Queries Level 3

https://www.w3.org/TR/2024/REC-mediaqueries-3-20240521/

This Recommendation contains proposed substantive changes (corrections and/or additions).

Published by
 Cascading Style Sheets (CSS) Working Group

Abstract

HTML and CSS currently support media-dependent style sheets tailored for different media types. For example, a document may use sans-serif fonts when displayed on a screen and serif fonts when printed. ‘screen’ and ‘print’ are two media types that have been defined. Media queries extend the functionality of media types by allowing more precise labeling of style sheets.

A media query consists of a media type and zero or more expressions that check for the conditions of particular media features. Among the media features that can be used in media queries are ‘width’, ‘height’, and ‘color’. By using media queries, presentations can be tailored to a specific range of output devices without changing the content itself.

Status of the Document

This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.

This document was published by the CSS Working Group as a Recommendation using the Recommendation track. It includes proposed corrections.

A W3C Recommendation is a specification that, after extensive consensus-building, is endorsed by W3C and its Members, and has commitments from Working Group members to royalty-free licensing for implementations.

W3C recommends the wide deployment of this specification as a standard for the Web.

Please send feedback by filing issues in GitHub (preferred), including the spec code “mediaqueries-3” in the title, like this: “[mediaqueries-3] …summary of comment…”. All issues and comments are archived. Alternately, feedback can be sent to the (archived) public mailing list www-style@w3.org. Comments are due by 21 July 2024.

Future updates to this Recommendation may incorporate new features.

This document is governed by the 03 November 2023 W3C Process Document.

This document was produced by a group operating under the W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

Copyright © 2024 World Wide Web Consortium. W3C® liability, trademark and permissive document license rules apply.
 Proposed corrections are marked in the document.

-- 
This report was automatically generated using https://github.com/w3c/transition-notifier

Received on Tuesday, 21 May 2024 06:28:51 UTC