webc
webc copied to clipboard
`<style webc:scoped @html>` doesn’t process scoped content
<style webc:scoped @html="`:host {}`">
Returns :host {}
in the CSS bundle.
Workaround is to use child content for now:
<style webc:scoped>
:host {}
</style>
<style webc:scoped @html="`:host {}`">
Returns
:host {}
in the CSS bundle.
Would we also be able to link stylesheets as scoped?
<link rel="stylesheet" href="../shared-css/button.css" webc:scoped />
@cssandstuff this was added in https://github.com/11ty/webc/issues/53