Design comparison
SolutionDesign
Community feedback
- @KonstantinchristPosted almost 2 years ago
Hi @lukejans, you can center your main by giving the body display: flex; and then align-items: center; and justify-content: center; . Also to round the objects corners you can give the main a border-radius and then also an overflow: hidden; because the div-container are overflowing.
Ihope it helps, Konstantin
Marked as helpful0
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