CSS/Mediaqueries/orientation

From Web Education Community Group
< CSS‎ | Mediaqueries
Revision as of 19:34, 28 September 2012 by Hiroki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

orientation

The ‘orientation’ media feature is ‘portrait’ when the value of the ‘height’ media feature is greater than or equal to the value of the ‘width’ media feature. Otherwise ‘orientation’ is ‘landscape’.

Description table

Values 'portrait' | 'landscape'
Applies to bitmap media types
Accepts min/max prefixes No