Design comparison
Solution retrospective
Hello everyone,
I still couldn't figure out how to get 2 equal width columns by using flex. On desktop, it is looking good but as I test it on different dimensions, the right column getting smaller and disappear in the end.
But I learnt a new way to use mix-blend-mode instead of using pseudo element. Any feedback welcome.
Community feedback
- @hyrongennikePosted about 2 years ago
Hi @birkaany,
Congrats on completing the challenge
I think that is how it's supposed to work, it resizing according to the content.
On mobile you don't have the image, you can add the following the media to fix that.
@media (max-width: 576px) { .container { flex-direction: column-reverse; max-width: 35rem; } picture.visual-content { height: 200px; } .text-content .stats { flex-direction: column; gap: 1rem; } .text-content { padding: 2rem; text-align: center; } }
Hope this is helpful. Let me know if you have any other quesitons.
0
Please log in to post a comment
Log in with GitHubJoin 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