Difference between revisions of "Media query (CSS)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (Created page with "In CSS, a '''media query''' consists of a media type and zero or more expressions that check for the conditions of particular media features. == Desc...") |
Karl Jones (Talk | contribs) |
||
Line 1: | Line 1: | ||
In [[CSS]], a '''media query''' consists of a [[Media type (CSS)|media type]] and zero or more expressions that check for the conditions of particular media features. | In [[CSS]], a '''media query''' consists of a [[Media type (CSS)|media type]] and zero or more expressions that check for the conditions of particular media features. | ||
+ | |||
+ | [[Responsive web design]] relies upon media queries. | ||
== Description == | == Description == |
Revision as of 09:26, 18 April 2016
In CSS, a media query consists of a media type and zero or more expressions that check for the conditions of particular media features.
Responsive web design relies upon media queries.
Description
This allowing content rendering to adapt to conditions such as screen resolution (e.g. smartphone screen vs. computer monitor).
Among the media features that can be used in media queries are 'width', 'height', and 'color'.
Responsive web design
By using media queries, presentations can be tailored to a specific range of output devices without changing the content itself.
Responsive web design relies upon media queries.
Media Queries module
See Media Queries for the CSS3 module containing formal specfications.
See also
Exterior Links
- Media queries @ Wikipedia