CSS/Mediaqueries/orientation

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
Last modified on 28 September 2012, at 19:34