CSS Absolute из центра, а не угловой
this makes it so position absolute focuses in the middle of the element
instead of the top-left corner
.parent{
position: relative;
}
.child-element-you-want-centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
Your Friendly Naked Dragon Seath