Alberto Ledesmaโข 370
@ledesmx
Posted
Hi Miguel ๐
Great job on your solution!
Here are some recommendations for you:
I suggest to align the content in the center
- First of all, I would add
display: flex;
andflex-direction: column;
inside the body tag. Flexbox provide us a better method for align items. - Then, add
justify-content: center;
aligning the items in the y-axis. - Lastly, add
min-height: 100vh;
setting the height to 100vh or more.
Code to add:
body {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
Marked as helpful
0