Responsive Blog Preview Card

Solution retrospective
Really happy with how fast the first version of this came together.
In retrospect, border-box and tackling the responsive part of the layout earlier would have made some things a lot easier.
What challenges did you encounter, and how did you overcome them?Getting the responsive part right was surprisingly challenging. But it was fun to use clamp() on font-size since I already knew the theory.
The way I had to set up max-width on the <main> element feels unelegant. There might even be a case for not styling semantic elements at all. I feel I need a deeper understanding of layouts in general. Any tips would be appreciated.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gregor de Cillia's solution.
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