How detect in js :hover in element :
.box-cart:after{}
I wan't to show another div in other parent child when
.box-cart:after:hover{}
How detect in js :hover in element :
.box-cart:after{}
I wan't to show another div in other parent child when
.box-cart:after:hover{}
Pseudo-elements aren't elements, and currently you can't access them via the DOM. So you can't hook event handlers on them. As far as I can tell, you also can't apply pseudo-classes like :hover
to them in CSS.