+ 1

What is difference between Background and Background-colors in css ?

7th Nov 2016, 6:08 PM
Siyaram Meena
Siyaram Meena - avatar
2 Réponses
0
Background-color specifies only the color of itself, while background can specify a URL for a image, it's position and much more. If your background is a color, use background-color only
7th Nov 2016, 6:34 PM
Scotti
Scotti - avatar
0
background is the place on the screen, background color is a property of this place.
8th Nov 2016, 1:38 AM
Julio Cezar
Julio Cezar - avatar