Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Relatively happy with my solution for the tab at the top.
What challenges did you encounter, and how did you overcome them?The cards in the left and right sides of the layout were not centered vertically, so I created 2 rows and had them span both.
What specific areas of your project would you like help with?This is actually my first time using Grid, and I'm not sure what best practices are for layout options. It feels like what I created isn't very flexible. I would be interested in seeing other approaches to this specific layout pattern.
Community feedback
- @GD-neoPosted 7 months ago
- I used flex box in my approach because I find it helps me center items and I don't have experience with grid yet
<div class="main-cards"> <div class="supervisor cards"> <h3>Supervisor</h3> <p class="card-text">Monitors activity to identify project roadblocks</p> <img src="./images/icon-supervisor.svg" > </div> <div class="teamBuilder_Karma"> <div class="teamBuilder cards"> <h3>Team Builder</h3> <p class="card-text">Scans our talent network to create the optimal team for your project</p> <img src="./images/icon-team-builder.svg"> </div> <div class="karma cards"> <h3>Karma</h3> <p class="card-text">Regularly evaluates our talent to ensure quality</p> <img src="./images/icon-karma.svg"> </div> </div> <div class="calculator cards"> <h3>Calculator</h3> <p class="card-text">Uses data from past projects to provide better delivery estimates</p> <img src="./images/icon-calculator.svg"> </div> </div>
- with:
.main-cards { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: center; gap: 25px 25px; }
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