make backgrounf take all div css code example
Example 1: css fill div with background image
div {
background-image: url("example.com/image.png");
background-size: 100% 100%;
}
Example 2: fill and no repeat background image css
/* with CSS 3 */
#yourdiv {
background: url('bgimage.jpg') no-repeat;
background-size: 100%;
}