center div in div

PHOTO EMBED

Thu Apr 29 2021 13:07:06 GMT+0000 (UTC)

Saved by @distance #css

.element {
  position: absolute;
  top: 50%;

  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
content_copyCOPY