← Back to release summary

Boolean Context Style Container Queries

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

Summary

Support style() container queries without a declaration value, only a property name, as a way of matching non-initial values. Previously you would have to do: not style(--my-property: initial) Now you can do: style(--my-property) to match any non-initial value.

Standards & signals

View on chromestatus.com