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

+1 to @mirisuzanne's suggestion of:

```
@supports (@container {}) { ... }
@supports (@media (prefers-reduced-motion: reduce) {}) { ... }
```

This is definitely needed and useful for negation to apply styles when progressively enhancing container queries:

```
@supports not (@container {}) { ... }
```

This is more resilient than `@supports not (contain: inline-size) {...}` because inline containment could be implemented separately of `@container`.

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


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

Received on Wednesday, 7 April 2021 19:01:07 UTC