# Orientation query

Checks whether the screen is portrait or landscape.

## What does the `orientation` media feature do?

`orientation` checks whether the screen is taller than wide (`portrait`) or wider than tall (`landscape`).

```css
@media (orientation: landscape) {
  .video-player { height: 100vh; }
}
```

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/orientation-query
