# Orientation query

*noun*

say it: **“or-ee-en-TAY-shun KWEER-ee”** **/ˌɔriɛnˈteɪʃən ˈkwɪri/**

A media query that checks whether the screen is taller than it is wide (portrait) or wider than it is tall (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; }
}
```

## In a sentence

- “An **orientation query** moves the photo beside the opening hours when someone turns their phone sideways.”

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=3)

Updated: November 9, 2026

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