Boris• 2,870
@mkboris
Posted
Great work, to properly center the content, add this on the body
/* your other styles */
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
- Font-size should be written in
rem
not px. This article explains it better Why font-size must NEVER be in pixels. - Consider using a modern CSS reset at the start of the styles in every project. Like this one Modern CSS Reset. This will help reset a list of default browser styles.
Marked as helpful
0