@correlucas
Posted
👾Hello Thidar Nyein, Congratulations on completing this challenge!
You need to fix the container size
that is a bit off, this challenge uses the standard container size that is max-width: 1110px
.
The way you’ve applied the purple color is fine, but if you want the exact color tone of color of the challenge designs, you need to use mix-blend-mode
to make the color blend between the image and the background-color of the container. See the steps below to apply to the img
or picture
selector:
img {
mix-blend-mode: multiply;
opacity: 75%;}
To make the image have a better fit inside of it, make the component image responsive with display: block
and max-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 use object-fit: cover
.
img {
display: block;
object-fit: cover;
max-width: 100%;
}
✌️ I hope this helps you and happy coding!
Marked as helpful