Reference document

Org
W3C
Pubnum
CSS Media Queries
Date
2012-06-19
Version
Title
CSS Media Queries

Applicability

HTML4 and CSS2 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 to limit the scope of style sheets. 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.

Responsible Party

Name
FMN CPWG

Status

URI
http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/

History

Flag Date RFC Version
added 2014-05-11 9
changed 2017-01-14 9-17 10
changed 2022-12-20 14-62 15
UUID
4a106495-d7e4-4dad-85ad-5ab521990cef

Relationships

This standard is used by the following service profiles: