Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I am proud of understanding the grid system. Was not easy at all !
What challenges did you encounter, and how did you overcome them?Align and padding was difficult to manage, I have taken things from the ground.
Community feedback
- @BT453567Posted 7 months ago
Hello
Good Effort
Here's a couple of suggestions that may improve your solution:
- To centre your solution in the page:
body { display: grid; place-items: center; min-height: 100vh; }
- At the moment, when you reduce the window size of your solution, you'll notice that the content does not stay within the container div.
Try using Flexbox rather than grid to display the main content:
#container { background-color: var(--white); border-radius: 20px; padding: 10px; display: flex; flex-direction: row; }
.left-col { padding: 0 40px; max-width: 30rem; }
.right-col {
}
Regards
1
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