Skip to content

Commit 22fa922

Browse files
authored
Merge pull request #198 from klausbreyer/master
Updated README.md for requirement of <!DOCTYPE html>
2 parents b334916 + fee7d22 commit 22fa922

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
@@ -37,6 +37,8 @@ Include `parallax.min.js` in your document after including jQuery.
3737

3838
## Usage
3939

40+
Please note, that `<!DOCTYPE html>` on top of your document is required!
41+
4042
### Via data attributes
4143

4244
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)