.image-container { position: relative; width: 500px; height: 600px; margin: 0 auto; text-align:center; overflow: hidden; } .image-container ...