How to Fix a background Image while the page is being Scrolled | Using CSS

To make a background image static while the content scrolls over it, we have to use the background-attachment property like so,

CSS Code:
img { background-image: url(background.png);background-attachment:fixed;}


Popular posts from this blog

Advanced Jquery easing | Demo and Download