When we discussed adding anchored(fallback) container queries for anchored elements, there was a proposal to add an any keyword to allow matching only one of the axes when matching position-areas.
For instance, @container anchored(fallback: left any) would match position-area: left top, position-area: left span-bottom, etc.
@fantasai @kizu
When we discussed adding
anchored(fallback)container queries for anchored elements, there was a proposal to add ananykeyword to allow matching only one of the axes when matching position-areas.For instance,
@container anchored(fallback: left any)would matchposition-area: left top,position-area: left span-bottom, etc.@fantasai @kizu