@LucasEPK
Submitted
I really struggled with centering everything, and i still don't fully know how to do it well. I also didn't get how desktop and mobile view work.
@WH-Designs
@LucasEPK
Submitted
I really struggled with centering everything, and i still don't fully know how to do it well. I also didn't get how desktop and mobile view work.
@WH-Designs
Posted
Hey Lucas, you did very well with this challenge, there are many ways to center a div with css, and the way you did it used one method using Margin: auto; which will center the div depending on how the div is displaying, if that be display: block; or display: inline;
I would recommend that you also take a look at flex box and learning the basics of that because it is another way of centering an element but also allows for so much more flexibility with mobile and desktop screens.
Marked as helpful
@adie9
Submitted
-Questions-
@WH-Designs
Posted
Hello Adrian,
Hope this helps
Marked as helpful