Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other [Solved] Change contents of DIV on hover? Reply To: Change contents of DIV on hover?

#149815
Paulie_D
Member

I suspect that the psuedo-element is blocking the pointer because it’s sitting on top of the block.

Try adding pointer-events:none to the before pseudo-element.

Here’s an example with a standard href….you have to ctrl-click in Codepen for external links but I think you can see that removing that line kills the link functionality.

http://codepen.io/anon/pen/pqoeC