この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
orientation
is a CSS media feature that can be used to check what the orientation of the viewport is.
Enumerated values
Value | Meaning |
---|---|
portrait |
|
landscape |
Specifications
Specification | Status | Comment |
---|---|---|
Media Queries The definition of 'orientation' in that specification. |
Recommendation | Initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |