I have 2 images side by side with no space in between. On hover the image scales in size 30%. One of the images when you hover on it grows but part of the image remains behind the image next to it. The other image grows and stay in front. Any ideas how to get both images to stay in front when hovered on.
Changing the z index doesn’t during the animation does not work
"Positioned elements may overlap other elements in the natural document flow, therefore you can alter the Z-index value of any positioned element to change its default stacking order. " – CSS position properties - Webflow University Documentation
There may be some way I’m not aware of (maybe someone else can clue us in) but my first thought would be to not only “scale”, but also “move” on hover to avoid that.