FrontEndMentor -Preview Card Component

Solution retrospective
Hi, guys.
This is my 5th Challenge solution.
The biggest challenge I had here not being able to properly size my image container in the desktop version.
I used flexbox on my 2 main elements ,text and picture, but I could not properly give my image the desired width that I wanted (50% of the card)
In the end with help from to moderators I was able to find a solution that I needed.
The Solution was to give both flex items flex: 1 150% to make them equal size.
Looking forward to any feedback and good luck in your own challenges. Thank you.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Iggy19944'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