@Alex-Archer-I
Posted
Hello! Well done, good job =)
You can use grid for centering with the align-items and justify-items rules. Also there is approach using positioning. In that case you need to apply rule "position: relative" to parent element and "absolute" to child element which you want to centered. Than you set top and left of the child element to 50% and move it halfway via the transform rule.
.parent {
position: relative;
}
.child {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
As you see it's a little clumsy way but it would be useful when you can't use flexbox.
Hope it can help. Good luck =)