fill empty div with background image code example
Example 1: css fill div with background image
div {
background-image: url("example.com/image.png");
background-size: 100% 100%;
}
Example 2: background image fill div
div {
background-image: url("example.com/image.png");
background-repeat: no-repeat;
background-size: cover;
}