What setting is that the picture does not occupy the entire area of the block?

there is a picture of the little paramere and if it staiti in any block it occupies the entire block so59db7b1906a94942845254.png
June 14th 19 at 18:23
1 answer
June 14th 19 at 18:25
Solution
background-repeat: no-repeat
You would not be able to tell whether it is possible to make so that the picture itself was cut to the size of the unit? - Winona commented on June 14th 19 at 18:28
This You background-size: need.
cover Scales the image proportionally so that its width or height equal to height or width of the block.
contain Scales the image proportionally so that the whole picture fits inside the unit.
cm here - juvenal6 commented on June 14th 19 at 18:31
Thanks - Winona commented on June 14th 19 at 18:34

Find more questions by tags CSS