-
Notifications
You must be signed in to change notification settings - Fork 22
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
Do we support defining pseduo class with this library? #85
Comments
Yes, this is supported. E.g. in a styled component let hover_class = css!(
:hover {
color: blue;
}
); You can think of all selectors in a css! block to implicitly mention "the currently generated class", so the above results in css like .stylist-style-0:hover {
color: blue;
} being mounted the |
@WorldSEnder Thanks, but it's still not very clear to me, could you put an example into the directory |
Can you give a short description what you are trying to achieve and which pseudo class you would like to see, so I can provide a tailored example? |
As the title, there is no documentation i can find about how to use pseduo class in stylist-rs.
The text was updated successfully, but these errors were encountered: