I noticed that the background attribute works just like the background-color attribute. Is there any difference between both of them? Or can I use both indiscriminately?
background is shorthand property for many things like
color, image, position, size, etc…
I would go with background-color unless I am doing a shorthand for other properties as well.