background image of a div code example
Example 1: background image css
.selector {
background-image: url(image.png);
}
Example 2: make image background of div
background-image: url("photographer.jpg");
Example 3: how to add image with url in css
background-image: url('images/my-image.png');
Example 4: how to set div background image
body {
background-image: url("paper.gif");
background-color: #cccccc;
}