Solved

Help understanding how this technique is done

Posted on 2013-11-15
1
245 Views
Last Modified: 2013-11-15
Have a look at this link...

http://sdpress.ho.ua/fragrance/

Can someone tell me HOW this works?  As you scroll down the image in the background changes and the content scrolls over the top of that image.  I think it's a really neat technique and would like to implement it but I have no idea how he/she is doing this.

Any help would be appreciated.  Thanks!
0
Comment
Question by:cdemott33
1 Comment
 
LVL 9

Accepted Solution

by:
QuinnDex earned 500 total points
ID: 39651803
<style type="text/css">

body{

background-image:URL('background.jpg');

background-attachment:fixed;

}

</style>
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question