@LaStellaa
Posted
Good job @dariushill! To position the content in the center of the page there are 2 very easy ways that you can write in the Main block (you need a main in your HTML):
Flexbox:
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
or GRID :
display: grid;
place-items: center;
min-height: 100vh;
Hope this helps, have a good one!
Marked as helpful