CSS BACKGROUND-ATTACHMENT - CSS3 Examples

CSS BACKGROUND-ATTACHMENT

Written by jon on 8:28 AM
The background-attachment property sets whether a background image is fixed or scrolls with the rest of the page.

Inherited: No
Example
body
{
background-image: url(stars.gif);
background-attachment: scroll
}
Possible Values
Value Description
scroll The background image moves when the rest of the page scrolls
fixed The background image does not move when the rest of the page scrolls.

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS BACKGROUND-ATTACHMENT ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :