what is difference between background and background-color code example
Example: what is difference between background and background-color
Premising that those are two distinct properties, in your specific example there's no difference in the result, since background actually is a shorthand for
background-color
background-image
background-position
background-repeat
background-attachment
background-clip
background-origin
background-size
background: white url(images/image1.jpg) top left repeat;
background: black;
background: url(example.jpg) no-repeat center center #fff;
background-image: url(example.jpg);
background-position: center center;
background-repeat: no-repeat;
background-color: #fff;