Design comparison
SolutionDesign
Solution retrospective
This challenge was rather hard for me. I would like to know if there are any room for improvements especially the switching of background image in my HTML code.
Thank you in advance!
Community feedback
- @AGutierrezRPosted 11 months ago
Hello there 👋. Good job on completing the challenge!
I have some suggestions about your code that might interest you.
CSS and Styling:
-
To achive the purple color of the images you can set the purple background on the images container and add
opacity
andmix-blend-mode
to the image.card__img-half { background-color: hsl(276, 87%, 34%); } .card__img-half img { opacity: 0.75; mix-blend-mode: multiply; }
And remove the
.overlay
element.
I hope you find this helpful 😁. Most importantly, your submitted solution is fantastic!
Happy coding!
Marked as helpful0 -
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