hi there! ๐
You can center your content with Flexbox if you apply these to your body
tag:
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
Use min-height
, otherwise users won't be able to scroll down if your content does't fit into one screen on smaller screen sizes.
Hope this helped ๐
Good luck and happy coding!
Marked as helpful
0
Afolabi Quadriโข 70
@afolabi-ola
Posted
@kodan96 Thanks alot I will make sure to do that and also submit my other solutions for other task I have completed on frontend mentors. I really appreciate ๐ your review and suggestions.
1