How to remove background-image in CSS?

Spread the love

Sometimes, we want to remove background-image in CSS.

In this article, we’ll look at how to remove background-image in CSS.

How to remove background-image in CSS?

To remove background-image in CSS, we set the background-image property.

For instance, we write

div#a {
  background-image: none;
}

to remove the background image from the div with ID a with background-image: none;.

Conclusion

To remove background-image in CSS, we set the background-image property.

Leave a Reply

Your email address will not be published. Required fields are marked *