Posição do centro absoluto
.child {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
Grieving Gemsbok
.child {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
left:50%;
transform:translate(-50%, -50%);