bratsun
10/31/2014 - 6:44 AM

Center align image

Center align image

img {
  max-width: none;
  height: auto;
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translateY(0) translateX(-50%);
  -moz-transform:    translateY(0) translateX(-50%);
  -ms-transform:     translateY(0) translateX(-50%);
  -o-transform:      translateY(0) translateX(-50%);
  transform:         translateY(0) translateX(-50%);
}