What does media query mean?

In web development, media query means a CSS rule that applies styles only when a condition is true, such as a minimum screen width, dark mode or printing.

ˈmiːdiə ˌkwɪrinounCore term

Web Development vocabulary · CSS and Layout

In Turkish: medya sorgusu, media query

Also used in: Software Engineering

How it is used

Written with @media, for example @media (min-width: 768px). Media queries are the main tool of responsive design; developers write and adjust them for each breakpoint.

Example sentences

  1. Add a media query so the sidebar moves under the content on mobile.

  2. This media query switches the colors when the user prefers dark mode.

Common collocations

  • write a media query
  • min-width media query
  • print media query
  • prefers-color-scheme

More terms: CSS and Layout

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: