.verticle_align_center { /* Need to palce position:relative on parent */ left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }