← Back to release summary

CSS supports() condition for @import

Category
CSS
Type
Chromium catches up
Status
Enabled by default (Chrome 122)
Intent stage
None

WPT details: https://wpt.fyi/results/css/css-cascade/import-conditions.html https://wpt.fyi/css/cssom/cssimportrule.html

Summary

It allows to import stylesheets and layers conditioned on supports(). If the support() doesn't match, the import will not be fetched.

Standards & signals

Ecosystem

View on chromestatus.com