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
feat(preset-wind): sticky hover #1710
Conversation
✅ Deploy Preview for unocss ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
0c54a4d
to
811f073
Compare
@chu121su12 Hi, can you help |
@zyyv Those pseudos need modifier, so you'd want to add something like:
I'm uncertain if originally the pseudos can work without modifier. https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state |
Thanks to #1681 this PR introduces sticky hover as a standalone variant. The sigil was
@
instead of&
as in the linked issue.However, due to its standalone nature, there's no integration with css functions available in pseudo so chaining this variant may require variable variant.