Re: [csswg-drafts] [css-values?] What is the MVP for inline conditionals on custom properties? (#10064)

when i first discovered style queries, i admit i had intuitively tried to do something like this:

```css
@container style(--variant: large) {
  & {
    // style the container itself
  }
}
```

it seems a way to select the container that `@container style()` matches could solve this but i have nowhere near enough context/history to know if that is doable. 

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


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

Received on Saturday, 13 April 2024 13:51:35 UTC