Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73935

css ":not()" isn't working with a ripple hover effect, what to change?

$
0
0

https://codepen.io/trynn/pen/zYxZQbx

in the above Codepen, why isn't this working:

:not(.title):not(.desc)

On the #imglink (and the two styles below it), I added the :not() in various ways, but none results in the goal, which is to have the orange circle hover effect to ONLY happen once.

But currently, it happens twice:

  • once on the image
  • once on the title/desc

Do you know what needs to be changed?


Viewing all articles
Browse latest Browse all 73935

Trending Articles