@correlucas
Posted
👾Hello Michał, congratulations for your solution!
I've checked your code and you did almost everything, you've missed only the component vertical alignment and the overlay effect on the image with the proper color.
To fix the alignment you need to add one more property inside the body:
body {
align-items: center;
}
And for the overlay effect you need to add to the img:
img {
mix-blend-mode: multiply;
opacity: 0.7;
}
Note that for the body there's no need you set min-width: 1440px;
you've to set instead max-width: 950px;
to the <main> to indicate how much this container can grows.
Hope it helps and happy coding!
Marked as helpful
@xXkosziarzXx
Posted
@correlucas hi Lucas I would like to thank you for your help I checked all your hints and I have comments on them
first to the <body> there was what you wanted to add.
second, to mix-blend-mode I didn't know the options. it gave a very nice effect thanks you I learned something new but you wanted to add to the wrong class and it did not work because the color is bg and the color is on top so .img do not have opacity only .bg
the last tip works thanks again