Skip to content Skip to sidebar Skip to footer

Sticky Elements With Background-attachment As Fixed

Consider this: http://jsfiddle.net/yP7Nf Sample code:

Solution 1:

on your image, use a position : fixed to prevent it from the scroll, and a z-index:-1 to make it go behind the things

if it goes behind something you don't want, use z-index:-2 on it

Post a Comment for "Sticky Elements With Background-attachment As Fixed"