Design comparison
Solution retrospective
This one take me a lot of time and after I finished I really want to know if there is a better way to colour a black and white image, instead using the after, I think that I could dou it with the filter property, but I guess somebody could help me with that and give me a better idea
Thanks in advance
Community feedback
- @correlucasPosted about 2 years ago
๐พHi @mazinger086, congrats on completing this challenge!
Your solution its almost done and Iโve some tips to help you to improve it:
You need to fix the
container size
that is a bit off, this challenge uses the standard container size that ismax-width: 1110px
.To make the image have a better fit inside of it, make the component image responsive with
display: block
andmax-width: 100%
(this makes the image fit the column/div size) and respect the component size while it scales down. To make it crop while scaling useobject-fit: cover
.img { display: block; object-fit: cover; max-width: 100%; }
โ๏ธ I hope this helps you and happy coding!
Marked as helpful1@mazinger086Posted about 2 years ago@correlucas Thank a lot for your reply I will apply your tips to improve the challenge.
Have a nice day!!
1@correlucasPosted about 2 years ago@mazinger086 Youre welcome bro! Have a nice day you too =)
0 - @hyrongennikePosted about 2 years ago
Hi,
Nice job on the challenge
You can add
mix-blend-mode: multiply;
to you purple overlay you might just have to adjust the color a bit also on mobile the should be 300px for the overlay because it cuts off.Marked as helpful1
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