-
CSSunday demo! Add a hover effect on an image only when the card links are hovered: codepen.io/chriskirknielsen/pen/dymKoVV?editors=1100 I wanted to reach for :has() but to keep things more compatible, I've come up with a workaround cancelling pointer events on the card and restoring them on links.
-
…in reply to @ckirknielsen
This is just a lil' CSS trick, and usually you want the whole card to be clickable, but in my case the list also has links so this is a good compromise — anyways, have a nice weekend!