398,654 views
24 votes
24 votes
The property in css used to change the background colour of an element is


User Dennis Kieselhorst
by
3.1k points

2 Answers

10 votes
10 votes

Answer:

CSS | background-color Property. The background-color property in CSS is used to specify the background color of an element. The background covers the total size of the element with padding and border but excluding margin. It makes the text so easy to read for the user.

Step-by-step explanation:

User Qurben
by
2.7k points
21 votes
21 votes

Answer:

background-color property

The background-color property in CSS is used to specify the background color of an element. The background covers the total size of the element with padding and border but excluding margi

Step-by-step explanation:

User Jsageryd
by
3.6k points