As I understand it, when you use the shorthand property background
, the browser first sets all background properties to their default values and then puts in the values that you're declaring. Is it then better to use background-color:white
; instead of background:white
? Does this change when you are putting in more values such as background position or background image? Or is it always best to declare attributes individually?
I'm thinking that there must be some sort of tipping point where the savings in bytes balance the processing time gained by specifying attributes individually. However, I could be completely wrong - that's why I'm asking here.