@AdrianoEscarabote
Posted
Hello david mora, how are you? I truly loved your project's outcome, however I have some advice that I hope you'll find useful:
A good practice to center content is using grid
or flex-box
, avoid using margin or padding to make placements, use only in the latter case! we can do it like this:
Flex-box:
body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min height: 100vh;
}
GRID
body {
display: grid;
min height: 100vh;
place-content: center;
}
The remainder is excellent.
I hope it's useful. 👍
Marked as helpful
@dmora219
Posted
@AdrianoEscarabote thank you so much! I'll give this another try later today!