Description

Sets whether a background image scrolls with the page or is fixed in position while the content scrolls above it.

Example

 body{
  background-image:url(bg.jpg); 
  background-attachment:fixed; 
}

Values
scroll, fixed
Default value
scroll
Introduced in CSS version
1
Inherited
No
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions71160.2

See the full list CSS properties and browser support: CSS Properties