4 works

Background Image That Doesn't Scroll on Webpage

dashboard+ Project

Posted by @mishka #css #html

Code snippet:

    background-image: url("img_tree.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
content_copyCopy to Clipboard

More details:

A background-image that will not scroll with the page (fixed). The background-attachment property sets whether a background image scrolls with the rest of the page, or is fixed.

Code snippet source:


>> Browse more code snippets