WPT details: https://wpt.fyi/results/css/css-conditional/container-queries/query-container-name.html?label=experimental&label=master&aligned https://wpt.fyi/results/css/css-conditional/container-queries/query-container-name-dynamic.html?label=experimental&label=master&aligned
A CSS query container can be queried based on its container-name only, and the container does not need any container-type set: <style> #container { container-name: --foo; } @container --foo { input { background-color: green; } } <style> <div id="container"> <div><input></div> </div> Previously, @container required some query in addition to the name.
Catch up with spec and other implementations which are about to ship support for name-only queries.