Blog preview card solution

Solution retrospective
I'm proud of having learnt a little bit about the CSS property object-fit
. I don't fully understand it yet, but I'm getting there!
The responsiveness of the image with object-fit: cover
was giving me a headache because it didn't have a specified width, which is exactly what it needs to work. It took me a hot minute until I figured it out!
Any advice or help will be greatly appreciated on this one, I felt like I could have done everything better.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @jidanrestu
Nice, its almost the same as the design
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