Re: [csswg-drafts] Multiple stylesheets per file (#5629)

> As mentioned above, I think it's pretty important that a feature this invasive has a CSS use apart from any JS. 

If there were an accompanying "apply this sheet here" @rule, it could effectively become a "mixin."

```css
@sheet redMixin {
  :scope {
    background: red;
  }
}
```

```css
.myContainer {
  @apply-sheet redMixin;
}

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


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

Received on Wednesday, 10 January 2024 19:06:36 UTC