Design comparison
Solution retrospective
Proud of:
- It went quick
- Really feeling like I'm getting flexbox (with some exceptions)
Would do differently:
- Not really sure. This was pretty straightforward.
The design file doesn't give very clear guidance on breakpoints so I'm hoping my solution aligns with what the designers are asking for.
I really struggled with getting the flex container on the card to actually shrink with a change in the viewport size. This is because I didn't have the img width set to 100% 😅
I tried setting a breakpoint with a @container query but it was doing very wonky things with the card component so I abandoned that idea for a simple media query on the screen.
What specific areas of your project would you like help with?Is there a more elegant way to handle changes to the presentation of the .blog-preview-card element?
Community feedback
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