Design comparison
Solution retrospective
I would try other things beside flex box, I've tried doing the trick with display grid but it didn't work😅
What challenges did you encounter, and how did you overcome them?The main challenge was to do the boxes as two of them were on top of each other, so to do the trick I've put to boxes in a container, and then with flex box I set align items to be centered and the flex box direction to be column
What specific areas of your project would you like help with?I want to know if there are other ways to place the boxes like in the design challenge, it worked with me by using flex box, but I want to know if there are other solutions
Community feedback
- @Alil0lPosted 9 months ago
Great Work mate
I was thinking of trying the grid too but I didn't try it actually as the flex did the trick.
if you want to use the grid, I suggest you first create a grid of 3 columns each is 1fr width then for the middle column you will display it as flex and do the other staff as normal flex.
and ofcourse you will center the content in the grid with justify and align.
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