Replies: 1 comment 3 replies
-
omg, I've just tested out with this <style>{`
@scope {
p {
color: red;
}
}
`}</style> and it appears to be already working ✌️ https://stackblitz.com/~/github.com/abernier/poc-scope-css-nextjs?file=app/Foo.tsx:L12-L15&file=app/page.tsx:L8-L9 ![]() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Now that we have
@scope
css, what about supporting plain old<style>
tagit will basically allow us to:
Non-Goals
I could probably help if anyone could guide me into
Background
css-in-js
Proposal
simply by allowing plain <style> tag in react components
Colophon
Beta Was this translation helpful? Give feedback.
All reactions