@branalex94
Posted
Hey there! Nice solution. Just passing by to give my -hopefully helpful- advice. You could actually use display: grid; place-content: center; on the container, which in this case is the body itself. It will center whatever content it has to the center. Also may be useful to check on CSS grids, it could be useful to you in the future. Happy coding!
Marked as helpful
@ttaammaarr
Posted
@branalex94 Hi Brandon,
Definitely helpful, thank you so much! I will be looking into it, is it also possible to center content vertically using this method?
Anyways, thanks for your feedback, I'll dive into CSS grids soon :)
-Tamar