Preview Card By ElOmri Oussama (I used flex and grid displays)
Design comparison
Solution retrospective
I will be very appreciated for your suggestion help or feedback, Thank You.
Community feedback
- @AdrianoEscarabotePosted almost 2 years ago
Hi oussama el omri, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:
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%; }
You can read this content which is explaining these effects with mix-blend-mode: click here
avoid using
px
, If your web content font sizes are set to absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. if you want to keep using px for development and then format the whole code to rem, you can use this vscode extension: px to remThe rest is great!
I hope it helps... 👍
Marked as helpful1@oussamaelomriPosted almost 2 years agoThank you so much @AdrianoEscarabote, I appreciate this helpful comment. I already forgot that I didn't convert PX to rem, but you remind me the second time around, so in Allah willing I will not forget it, and thank you so much.
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