hi there! 👋
Instead of using margins, you can center your content with Flexbox if you apply these to the body
tag:
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
Hope this was helpful 🙏
Good luck and happy coding! 🙌
0
Pirate• 170
@ima9gh
Posted
@kodan96 I will definitely use it! thank you☺
0