After searching both Stack Overflow and Google I still wonder how to vertical center a image that is bigger than it\'s parent element. I use no height, just max-height, because
to center vertically an bigger image u can use the construction and css bellow
And css:
.img-wrapper{ position: relative; overflow:hidden; height:425px; } .img-wrapper img{ position: absolute; top:-100%; left:0; right: 0; bottom:-100%; margin: auto; }
FIDDLE