← Back to release summary

Media Queries Level 4 Syntax & Evaluation

Category
CSS
Type
Chromium catches up
Status
Enabled by default (Chrome 104)
Intent stage
Prepare to ship

WPT details: The existing WPTs are not sufficient at the moment - I will complete the coverage before shipping. Also some changes to existing tests will be required in relation to the <general-enclosed> handling.

Summary

Allows writing media queries using ordinary mathematical comparison operators, and adds support for 'or', 'not', nesting, and evaluation of "unknown" features.

Standards & signals

Ecosystem

View on chromestatus.com