Responsive Stats Preview Card Component Main using Flex

Solution retrospective
I am proud for figuring out how to do the layout to maintain the image and content sections to the appropriate size relative to the designs. Maybe I would challenge myself to try to solve this using grid instead as it is not my one of my strong suits yet.
What challenges did you encounter, and how did you overcome them?The biggest challenge was getting the picture to be half the size of the container, I was able to overcome this by learning more about flex-basis and coming up with a way to implement it into my css.
What specific areas of your project would you like help with?Is there a better more appropriate way to achieve this layout?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Adritriz'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