pablo-sg-pacheco
5/6/2016 - 8:03 PM

CSS - Center vertically

CSS - Center vertically

.center-v-parent{
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.center-v {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}