Back to index.
CSS3 spec | CSS4 spec
The orientation media query tells you if you hold the device in landscape or portrait mode.
orientation
It is the only 100% reliable method of finding out the orientation; other media queries frequently have problems.