Design comparison
Solution retrospective
It felt good to finally learn Tailwind’s grid system and figure out how to make such a layout work smoothly across all screen sizes, not just mobile and desktop.
What challenges did you encounter, and how did you overcome them?Making sure the design looked great on a variety of screen sizes was a bit of a challenge. I overcame this by experimenting with Tailwind’s responsive utilities and adjusting the grid settings until everything aligned nicely, no matter the device. A bit of trial and error 🙃
What specific areas of your project would you like help with?In my grid system, cards with less content will stretch to match adjacent card sizes. If they stretch too much, the card looks a little empty. Any tips on how to prevent "over stretching" or how to make empty cards look less out of place?
Community feedback
- @edpauPosted about 2 months ago
Nice code. I find it very easy to read your code, the use of semantic HTML is excellent. The grid settings with order is very good.
You are right that the cards with less content will stretch to match adjacent card sizes. I don't think we can prevent "over stretching". I will make the height of the card with more content shorter just as the design, i.e. I will reduce the line height of the text, so the cards with less content will be less empty.
Marked as helpful0
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