0
background VS background-color
Is there a difference between "background: green" and "background-color: green"?
2 Antworten
+ 11
"background-color" is a property of "background"
+ 1
'background' is shorhand property for background family properties, so you can shortcut 'background-color:green;' by 'background:green;'...
The only restriction, is to take care of previous rules for background properties, which can be overwritting by a generic rule to set only certains properties ^^