HI all,
I’m trying to zoom a background image masked by a circle using border radius. After some research I’ve learned there appears to be a webkit bug regarding border-radius masking absolutely positioned elements.
But in this example: http://jsfiddle.net/5m1n5xeg/1/
(which works perfectly in firefox) if you take off the keyframe animations in the css, you will see that the outer div masks the inner element as it should - in webkit also. It’s when the animation is applied the overflow no longer works.
Here is another example of the affect I’m trying to achieve working perfectly on everything (including webkit) but only on hover, using transitions instead: http://jsfiddle.net/dhepce3p/
Is there a way I could combine forces of these techniques somehow, or even another workaround altogether?
I’ve also read about using :after on the element as well as positioning a white square with a punched out circle over the top as a hack, but this needs to go over another texture and so needs to be transparent!
Thanks in advance.