Backgrounds

When using the shorthand property the order of the property values, and defaults are:

Additional CSS3 properties are:

Thus:

Background: #f84c9f url(http://images.vrx.palo-alto.ca.us/vrx/strips/nvrx4.png) no-repeat fixed 50% 80%;

Is equivalent to:

Background-color: #efffff;
Background-image: url(http://images.vrx.palo-alto.ca.us/vrx/strips/nvrx4.png);
Background-repeat: no-repeat
Background-attachment: fixed;
Background-position: 50% 80%;

Example: Background: #efffff url(http://images.vrx.palo-alto.ca.us/vrx/strips/nvrx4.png) no-repeat fixed 50% 80%;




















Content

















Ref: https://developer.mozilla.org/en/docs/Web/CSS/background

Special Cases

Background-size: CONTAIN; and Background-size: COVER are explained badly. What they really do is clip photo to frame with or without loss of picture or additional space: