Design comparison
SolutionDesign
Community feedback
- @michiganprogrammerPosted 11 months ago
Looks good. Some things you might want to do is.
- center the card. use justify-content: center; in .main-container
- your main-container is not the height of the screen. set height to 100vh.
.main-container{ background-color: hsl(47, 88%, 63%); height: 550px; display: flex; align-items: center; justify-content: center; /* add to center / height: 100vh; / add to increase of container to screen */ }
0@devvic19Posted 8 months agoHello, I have done this and its now centered and perfect @michiganprogrammer
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