BACKGROUND-ATTACHMENT PROPERTY IN CSS

Chintoo Semi

Total Post:135

Points:947
Posted by  Chintoo Semi
 1018  View(s)
Ratings:
Rate this:
Hi,

What is use of background-attachment property in css?

Thanks in advance. 
  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: background-attachment property in CSS

    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;
    }

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!