How To Make Background Full Width?

In the psd there is a background image for the block. But the fact that it isn't big enough? What you can do in this situation?
June 7th 19 at 14:43
1 answer
June 7th 19 at 14:45
to set the background picture in the unit and stretch it. something like this:

div.background {
background-image: url('/path/to/background.jpg');
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 300px;
thank you ;) - savanah_McCullough33 commented on June 7th 19 at 14:48

Find more questions by tags HTMLCSSLayoutImagesLayouts and prototypes