Skip to content

Commit fee7d22

Browse files
authored
Create README.md
Added the requirement of <!DOCTYPE html>` on top of the document. Cost me valueable 30 minutes to figure it out when I just wanted to sketch something rough with the framework.
1 parent 9ed1680 commit fee7d22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ $ bower i --save parallax.js
1919

2020
## Usage
2121

22+
Please note, that `<!DOCTYPE html>` on top of your document is required!
23+
2224
### Via data attributes
2325

2426
To easily add a parallax effect behind an element, add `data-parallax="scroll"` to the element you want to use, and specify an image with `data-image-src="/path/to/image.jpg"`.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy