You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The css-contain-3 spec provides a 'style container feature', allowing authors to query the computed value of a given property on the container. However, that query is currently limited to the declaration syntax, which provides a simple equality comparison:
@container style(--color-mode: dark) { … }
As discussed in #7068, there are also use-cases for range comparisons on container properties:
For custom properties, this might require a defined syntax using @property? Or would we want a way to define the value type on the query itself? Thoughts?
SebastianZ, jimmyfrasche, yisibl, castastrophe, AndrewBogdanovTSS and 12 more