Design comparison
SolutionDesign
Solution retrospective
Please leave some feedback! :)
I would really appreciate it!
;)
Community feedback
- @Jos02378Posted about 3 years ago
hey @yasser22269, great job on this solution!
Some suggestions for you:
- You can add a border-radius for your card to look similar to the design.
- You can use
object-fit: cover;
to prevent the image from being squeezed and useobject-position
to position the image. - You can add another overlay for the image and use
mix-blend-mode: multiply;
to achieve a similar overlay for the image. - You can try to follow a CSS naming convention called BEM. You can watch this video for more information Watch the video.
- You can try to use relative units like rem and em in the future. Here is a link to an article that explains when to use which unit read the article.
I hope this helps, good luck!
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