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?
5a99822618239038130134.png5a9982157b70d152228045.png
June 7th 19 at 14:43
1 answer
June 7th 19 at 14:45
Solution
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