@MaxTarasevich
Posted
Hello!
Good job!
To improve your project, I think you should:
-
Add a background color for the body tag, then the white bar at the bottom of the screen will disappear.
-
Pay attention, the image goes beyond the parent block. To avoid this, you should set the image height and width, in this case
object-fit: cover;
max-width: 100%;
height: 100%;
The object-fit property is necessary so that the aspect ratio of the image is not distorted.
- The color of the picture as on the layout can be done using the mix-blend-mode property .
You can also use a pseudo-element for the image's parent container with position absolute and the opacity property.
I hope my comment was helpful!
Success in learning!
Marked as helpful