Re: [csswg-drafts] [css-contain] What is the migration path for Container Queries? (#6175)

@lilles My understanding of the discussion was that we're leaning towards individual functions for each at-rule:

```css
@supports not media(width > 40em) { … }
@supports not container(min-width: 40em) { … }
```

----

There was also mention of an `@else` rule that can be appended to any conditional block:

```css
@container (min-width: 40em) { … }
@else { /* condition is negative */ }
```

And, while I like that idea, I don't think it does what we want here. I would expect `@else` to apply when the condition is negative (width is less than 40em), not when the condition is lacking browser support. I'm not sure we want to conflate those.

-- 
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6175#issuecomment-824233249 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 21 April 2021 17:29:54 UTC