Skip to content

What is Media query?

The short answer

A media query is a CSS rule that applies styles only when conditions are met, such as a screen width, dark mode preference or reduced-motion setting.

Media query, explained

Width queries power responsive layouts; preference queries like prefers-color-scheme and prefers-reduced-motion let sites respect how visitors set up their devices.

Questions people ask about Media query

What is Media query?

A media query is a CSS rule that applies styles only when conditions are met, such as a screen width, dark mode preference or reduced-motion setting.

Part of the Web Encyclopedia by Apex Flow Digital. Definitions are general knowledge, kept current, with no invented statistics.

Reviews

We’re early. Real reviews only.

Apex Flow Digital launched recently. Every purchase comes with a request for honest feedback through our help center. When real buyers write real reviews, they go here — with their permission, by name. Until then, this section stays empty. No fakes. No stock photos. No bullshit.

Used something from the catalog? Leave honest feedback →

While you’re here…