Responsive design utilizing grid and flex

Solution retrospective
- Handling responsive layout on initial steps can help with managing styling in the long run.
- Defining which component are similar between all screens helps with grouping components together for reusability.
I'm curious how we usually handle sizing in these scenarios:
- Mobile: It appears that size of image and card information determines the size of the card.
- Desktop: The size of card information should determine the size of card, but having child component determine size of parent seems like a complex practice, what's the appropriate approach?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @chryspenalber
I would suggest you to use flexbox instead of grid template in this case.
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