Design comparison
SolutionDesign
Community feedback
- Account deleted
Great work 👍
You can centralize the .main-container, by set the body element to display flex
body { display: flex; justify-content: center; } .main-container { align-self: center; }
Great work 👍
Marked as helpful0 - @NantuePosted 10 months ago
Hello @YuBaichuan2000,
Good job 👏
para centrar el contenido agrega al `body {
display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh;
}`
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord