Computer Science, asked by 04jandeeptisharma, 8 months ago

what is diffrentiate between by color and background image attribute​

Answers

Answered by LEGEND778
1

Answer:

The difference is that the background shorthand property sets several background-related properties. It sets them all, even if you only specify e.g. a color value, since then the other properties are set to their initial values, e.g. background-image to none.

Explanation:

Answered by aloksingh17801980
0

Answer:

Background Color vs background CSS

The background-color property in CSS is used to specify the background color of an element. On the other hand, if you only use “Background:” Property, you can either specify it's valued as an image URL or as a color code or specify the value of each background property in the below-given order.

Similar questions