Ver originaldiv.contenedor { position: relative;} img { position: absolute; left: 50%; transform: translate(-50%, 0);}