article preview component

Solution retrospective
I had difficulty in placing a portion of the hero image onto a page. I am not sure my solution is flexible enough, but it seems to be working for this project.
What specific areas of your project would you like help with?The layout of an image when only a portion of it needs to be shown. I had to play with width, height, object-fit, and overflow, to get a look similar to the design, but I am not sure if I can apply the same technique to any situations.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on toshirokubota'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