+ 1
What the difference between background-color and background in css3 ?
2 odpowiedzi
+ 3
background is shorthand
background-color is more specific
Further reading:
https://www.w3schools.com/cssref/css3_pr_background.asp
+ 6
the "background" keyword allows you to set any background you want (images etc) while the "background-color" allows you to set only color backgrounds.
Their connection is like class-class.property