Design comparison
Community feedback
- @YacoubDweikPosted about 1 month ago
Creative as usual!
Do not forget to align the container using:
- position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
Instead of giving the whold body display: grid.
Keep it up!
Marked as helpful2 - @AdrianoEscarabotePosted about 1 month ago
Hello Esraa Yaareb, how are you? I was really pleased with your project, but I’d like to offer some advice that might help:
To get closer to the photo overlay effect, you'd better use mix-blend-mode. All you need is the div under the image with this background color: hsl(277, 64%, 61%); and position mix-blend-mode: multiply and opacity: 80% on the image or apply image to activate the overlay by blending the image with the div's color. See the code below:
img { mix-blend mode: multiply; opacity: 80%; }
The rest is spot on.
Hope it’s helpful to you. 👍
Marked as helpful1@EsraaY21Posted about 1 month ago@AdrianoEscarabote Thank you very much for the explanation!
1
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