div:nth-child(1) { background-image: url(http://lorempixel.com/1200/1200/sports/1) } div:nth-child(3) { background-image: url(http://lorempixel.com/1200/1200/sports/2) } div:nth-child(5) { background-image: url(http://lorempixel.com/1200/1200/sports/3) } div { background-attachment: fixed; height: 300px; }
<div></div> <div>foros</div> <div></div> <div>del</div> <div></div> <div>web</div>