Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
πΎHello Israel John, congratulations for your new solution!
Your component is almost finished, but there are two things you can fix related to the image to have a better behavior when the container starts to scale down. Here's my tips:
1.Fix the image behavior and make it responsive with
display: block
andmax-width: 100%
img { display: block; max-width: 100%; }
- Add the proper purple overlay effect for the image, matching the design files you can use,
filter
ormix-blend-mode
. See the code below
img { mix-blend-mode: multiply; opacity: 0.8;}
π I hope this helps you and happy coding!
Marked as helpful0 - Add the proper purple overlay effect for the image, matching the design files you can use,
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