Design comparison
Solution retrospective
This challenge make me stress because :))) I cant decide when use img and when use background-image I switch 2 each other and that make the page blow out, I spend 2 day to fix my stupid change Anyway, glad that I finished the project Any feedback are welcome ^ ^
Community feedback
- @RayaneBengaouiPosted over 3 years ago
Hello Tin.Pham,
Congrats for completing this challenge ! 🙂
I would like to suggest :
-
When using a flex container it's better to use flex-basis property than width because it will be easier for flex items to resize if the container width changes. Here is a good article to understand what's the difference between width and flex-basis (https://mastery.games/post/the-difference-between-width-and-flex-basis/).
-
Use
mix-blend-mode: multiply
to get closer to the image color. -
Reduce the
line-height
to match better the design.
Overall, well done for the challenge and happy coding ! 😃
1 -
- @ApplePieGiraffePosted over 3 years ago
Hi there, Tin Pham! 👋
Well done on this challenge! 👍 The card component looks good and is responsive! 😀
I just suggest giving the image a smaller max-width in the mobile layout because it is quite wide, at the moment (and therefore a bit large) when the layout of the page first changes. 😉
Keep coding (and happy coding, too)! 😁
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