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 flex, grid, sass

P
yoyov51234 240

@yoyov51234

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?

1, I finished this project after 3 days.... I didn't give up. 2, I have a deeper understanding of the rank of the classes

What challenges did you encounter, and how did you overcome them?

In the end , I made the 1440 view using a grid, but the grid-gap is fixed, but when the screen goes larger, the vertical gaps between the divs are no longer the same.

What specific areas of your project would you like help with?

For the minimal size, how to define it's minimal enough and the cards shouldn't shrink anymore?

Community feedback

@Divadovitch

Posted

Hi yoyov51234,

Congratulations on this project.

For the minimal size I think you can use minmax like minmax(350px, 1fr) so 350px in this case is the minimal size and 1fr is the maximal size, in this way the size of the cards will not shrink past 350px.

For the minmax and the use of auto-fill in use with css grid, you can read this article.

This minimum size will be determined based on the content and the readability of the card. It's more of a design choice.

Hope this help

Marked as helpful

0

P
yoyov51234 240

@yoyov51234

Posted

@Divadovitch

Thank you for the suggestion! I will look through the article and update the code : )

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