← Back to index
Container / Container-name
Spec:
css-contain-3
container-ident-function.html
Parse checks (@supports)
supports container-name: foo
supports container-name: ident(...)
supports container: ident(...) / size
Computed value checks (JS)
computed container-name
computed container-name list "--c ident(...)"
computed container shorthand
Demo
Resize horizontally: turns green when query on
--myident42
matches.