Kimo Spark• 2,190
@kimodev1990
Posted
- To center your container using
height: 100vh;
, you could add in body :-
display: flex ;
justify-content: center ;
align-items: center ;
height: 100vh ;
and no need to use in main tag margin: 8rem;
- Better to use in font-size em or rem units than px
- You could use clamp ( ) method with font-size to change their sizes according to viewport dimensions, the same implies with margins, paddings, width, etc...
Hope you find this Helpful.
Other than that, Nice work and Keep going on....
1