Why is display:initial not working as expected?

I am hiding a child image and showing it when someone hovers a parent image. Problem is that when the child images shows up, it shows up on right-hand side of the parent image. I was expecting i...