-
-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
Description
Hi,
I have css like this
.wrapper:has(> input:hover) {
/* style links that contain an image */
background-color: green;
}
When hovering on the input nothing happens, but clicking on the input, the wrapper turns green, the same behaviour happens
if we replaced input:hover with button:hover.
if we replaced input:hover with p:hover for example, nothing happens
I'm using css-has-pseudo version 3.0.1
here is the html just in case
<div className="wrapper">
<input />
</div>