@ZenitsuAg
Posted
Hello Saulius, your work looks great!! As for the centering issue, all you have to is add
body { display: flex; justify-content: center; align-items: center; }
and that's it.
Marked as helpful
@TH3RIV
Posted
@ZenitsuAg Thanks for your input!!! After playing around with display properties and looking at MDN I managed to figure it out. I went with the grid option, but what I was doing is centering everything in the main
element and not the body
element.
@ZenitsuAg
Posted
@TH3RIV Same here, I did the same thing initially 😂😂
@satrop
Posted
@ZenitsuAg You can make that even smaller and do…
body {
display: flex;
place-items: center;
}