Home > DeveloperSection > Forums > background-attachment property in CSS
Chintoo Semi

Total Post:135

Points:947
Posted on    June-14-2013 9:30 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 748  View(s)
Rate this:
Hi,

What is use of background-attachment property in css?

Thanks in advance. 


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    June-15-2013 4:56 AM

Hi,

The background-attachment property sets whether a background image is fixed or scrolls with the rest of the page.

e.g. 

body

background-image:url('smiley.gif');
background-repeat:no-repeat;
background-attachment:fixed;
}

Don't want to miss updates? Please click the below button!

Follow MindStick