center element in its parent at all breakpoint

PHOTO EMBED

Sat Jun 25 2022 08:42:29 GMT+0000 (UTC)

Saved by @nimaSm #html

.element {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
content_copyCOPY