-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locally scoped css #278
Comments
I'm reading about locally scoped CSS for the first time and it seems really cool! It looks like in order to support it we'd need to expose access to the style field of DOM nodes to let values be set directly. Seems doable but haven't looked into how to do it concretely yet. |
I believe the bundlers for React, Svelte, SolidJS etc. actually create a global css at the end from the users given locally scoped css. They do this by generating non-conflicting class names so the end user can reuse a css class name while only having a local effect on the the style of their DOM. Widespread web-browser support for locally scopped css is not likely to come anytime soon, thats why the compiled it into a single global css. |
Is there any plans to support locally scoped css in moxie-dom?
The text was updated successfully, but these errors were encountered: