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

In my [previous comment](https://github.com/w3c/csswg-drafts/issues/5629#issuecomment-2016582527), I described a CSS way to import an existing `@sheet` from another file.

Another useful thing would be the ability to name a regular stylesheet from HTML, using an attribute like `name` (similar to [`<link title="…">`](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets)).

```html
<link rel="stylesheet" href="legacy.css" name="legacy" />
```

This would give you a `@sheet` named `legacy` can be referenced elsewhere.

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


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

Received on Friday, 29 March 2024 17:19:16 UTC