-
Notifications
You must be signed in to change notification settings - Fork 89
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
Translating :checked and + #131
Comments
This is the closest I've come, but the :checked is in the wrong place:
|
Almost got it...
|
I'm pretty sure this works: [(s/+ :.onoffswitch-checkbox:checked :.onoffswitch-label) {}] Also, if you don't need to do anything programatically to the selector, you can actually use the string-variant. |
Thanks! What do you mean the "string-variant"? |
[".onoffswitch-checkbox:checked + .onoffswitch-label" {}] |
Note that I think #127 applies to |
I had no idea of that "string variant"! That completely changes my converting-css-to-Garden life! |
I can't seem to figure out how to generate this selector:
.onoffswitch-checkbox:checked + .onoffswitch-label
I've tried variations, e.g.
(garden.core/css [:div [:&s/checked {:foo :bar}]])
(garden.core/css [:div (s/checked) {:foo :bar}])
but no luck. A little help?
The text was updated successfully, but these errors were encountered: