CSS 2.1 Properties
______________________________________________________________________
Property: background
Media Type(s): Visual
Description: Shorthand property for all individual background properties
Example:
body: { background: url(images/body-back.gif) #ccc 50% no-repeat fixed; }
Tips: Shorthand properties are often unique. In this case, you need to watch order: image, color, position, repeat, and attachment. If you aren't using all the options, just be sure to keep the integrity of the order.
______________________________________________________________________
Property: background-attachment
Description: Used to manage scrolling of backgrounds
Media Type(s): Visual
Example:
body { background-attachment: scroll; ...
Get Spring Into HTML and CSS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.