Closed Leinnan closed 11 months ago
I did create some code to detect and parse psuedo classes, but I am not quite sure how to approach filtering and so on. There is a patch: https://gist.github.com/Leinnan/9c46bc762fc80773baedb43273fb4e8b
I was able to create a repo with a branch that would implement pseudo classes, but for now it is unoptimized- it needs to update all of the nodes after each hover/focus event: https://github.com/Leinnan/bevy_ecss/tree/my_take
Also my take on implementing pseudo-classes (with CSS ordering fix in place).
https://github.com/TheBeardedQuack/tomt_bevycss/releases/tag/0.4.0
Is there any chance for supporting pseudo classes like
:hover
and:focus
forInteraction
elements?