mediaqueries cover page
The specifications below belong to the series 'mediaqueries'
Media Queries Level 3
Recommendation- Tags
- CSS
- Deliverers
- Cascading Style Sheets (CSS) Working Group
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.
Media Queries Level 4
Candidate Recommendation Draft- Tags
- CSS
- Deliverers
- Cascading Style Sheets (CSS) Working Group
Media Queries allow authors to test and query values or features of the user agent or display device, independent of the document being rendered.
Media Queries Level 5
Working Draft- Tags
- CSS
- Deliverers
- Cascading Style Sheets (CSS) Working Group
Media Queries allow authors to test and query values or features of the user agent or display device, independent of the document being rendered. They are used in the CSS @media rule to conditionally apply styles to a document, and in various other contexts and languages, such as HTML and JavaScript.