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...") |
(No difference)
|
Revision as of 09:22, 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.
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