Skip to content
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

Add <style /> tag support #27

Open
bnolan opened this issue Dec 9, 2014 · 0 comments
Open

Add <style /> tag support #27

bnolan opened this issue Dec 9, 2014 · 0 comments

Comments

@bnolan
Copy link
Contributor

bnolan commented Dec 9, 2014

Once #13 is done, it'd be nice to be able to style elements using css selectors. @hayes has posted some sample code that shows how to use cssauron with dom-lite to apply styles.

litejs/dom#13 (comment)

The styles should be reapplied anytime a dom node has a significant change (not on position, rotation or scale change). The styles should be set as inline styles, so they are reflected down to the client. The client shouldn't receive the <style /> tags (the same way script tags aren't reflected).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant