Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four card feature section using html and css

zaid333sa 180

@zaid333sa

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

@Alil0l

Posted

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

zaid333sa 180

@zaid333sa

Posted

thanks Ali, I will try it @Alil0l

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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