CSS/Mediaqueries/orientation

From Web Education Community Group
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