Blog Preview Card Solution

Solution retrospective
I tried my best to fulfill the challenge brief. I managed to make a design that resembles the preview given. I want to complete these challenges more efficiently, so any advice is greatly appreciated! ^^;
What challenges did you encounter, and how did you overcome them?I had a lot of trouble using "object-fit" for the image in the mobile design. My final solution after messing around in the Inspect Element tool in Chrome Developer Tools was as follows:
@media only screen and (max-width: 375px) {
#headImage {
width: 100%;
height: 12.5625em;
object-fit: cover;
}
What specific areas of your project would you like help with?
I think my css code needs work... any suggestions for improvements will be greatly appreciated :)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on klnrox001'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