We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can I implement the CSS code below in ScalaCSS?
li:hover .item { display: block; }
val item = style( display.none, /* ... */ ) val liStyle = style( &.hover(/* How to select `item` ? */) )
Thanks in advanced!
The text was updated successfully, but these errors were encountered:
I'm curious about this too, haven't figured out to show an item when you hover on a parent item.
Sorry, something went wrong.
val liStyle = style( &.hover( unsafeChild(".item")( display.block ) ) )
would give:
.XYZ_Style-liStyle:hover .item { display: block; }
BTW is it possible to customise the .XYZ_Style portion of the selector @japgolly?
.XYZ_Style
No branches or pull requests
How can I implement the CSS code below in ScalaCSS?
Thanks in advanced!
The text was updated successfully, but these errors were encountered: