Hi.
I wanted use some more complex selector such as button:not(:hover):not(:focus-within). Simply adding button:not(:hover):not([focus-within]) one will not help, as for browsers that support :focus-within this will always be true.
I believe some solution could be to add some class to <html> when browser doesn't support :focus-within. Then something like .no-native-focus-within button:not(:hover):not([focus-within]) would work I think.
What do You think about it? Do You have any other idea to solve this issue?
Thank You for creating it by the way!
Hi.
I wanted use some more complex selector such as
button:not(:hover):not(:focus-within). Simply addingbutton:not(:hover):not([focus-within])one will not help, as for browsers that support:focus-withinthis will always be true.I believe some solution could be to add some class to
<html>when browser doesn't support:focus-within. Then something like.no-native-focus-within button:not(:hover):not([focus-within])would work I think.What do You think about it? Do You have any other idea to solve this issue?
Thank You for creating it by the way!