I am having getting a weird bug when I use a combination of overflow
, border-radius
, and transition
. I have a div with an img inside o
I added minus z-index value for image and higher value for parent
li {z-index:10; overflow: hidden;}
li img {z-index: -10;}
The accepted answer didn't work for me because I can't have the clear border increasing the clickable area of the masked element, nor do I want it to obscure that of other elements (and setting the height to 100% didn't solve the issue).
See my answer to a related question for a possible solution.