Responsive 3-Column Card Component with Flexbox

Solution retrospective
I'm most proud of how I managed to make the layout fully responsive using only Flexbox and CSS media queries.
I also made use of clamp() for paragraph widths, which helped control text line length for better readability.
Next time, I would start earlier with planning intermediate breakpoints rather than fixing them later.
I'd also try to minimize repetitive media query logic and extract more utility classes or CSS variables.
What challenges did you encounter, and how did you overcome them?One challenge was managing layout behavior across screen widths between 450px and 875px.
I wanted centered alignment during that range but left-aligned content on smaller and larger screens.
I overcame it by using layered media queries, separating layout direction and text alignment, and writing mobile-first logic.
I also learned to use max-width: clamp(...) and ch units to keep paragraphs legible on larger screens.
I would appreciate feedback on anything.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Abdul Subhan'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