We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168dd11 commit d4521bcCopy full SHA for d4521bc
README.md
@@ -40,10 +40,11 @@ $("#selector").parallax({
40
41
### Supported properties:
42
43
-Property value can be specified as number or percentage (string).
44
-To specify a **from** value as well **to**, use object syntax:
45
-```javascript
46
-{"to":1,"from":0}
+Property value can be specified as number or percentage (string) or object.
+To specify a **from** value as well **to**, use the object syntax:
+
+```html
47
+<div data-parallax='{"opacity":{"to":1,"from":0}'></div>
48
```
49
50
translateX
0 commit comments