how to add image as class backgorund code example
Example 1: background image css
.selector {
background-image: url(image.png);
}
Example 2: css background image
background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;