universal-parallax
Advanced tools
Comparing version 1.0.6 to 1.0.7
/** | ||
* @version 1.0.6 | ||
* @version 1.0.7 | ||
* @author Marius Hansen <marius.o.hansen@gmail.com> | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "universal-parallax", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Easy parallax plugin using pure javascript. Also works on mobile platforms. Cross browser support.", | ||
@@ -5,0 +5,0 @@ "main": "dist/universal-parallax.js", |
@@ -59,9 +59,2 @@ # Universal Parallax | ||
* If desired, transparency can be added to the parallax element and it won't affect the transparency of your content. | ||
```css | ||
.parallax { | ||
opacity: 0.5; | ||
} | ||
``` | ||
###### #4 | ||
@@ -80,2 +73,11 @@ Fire up the JS function. | ||
``` | ||
## opacity | ||
If desired, transparency can be added to one, or all parallax elements and it won't affect the opacity of your content above. | ||
```css | ||
.parallax { | ||
opacity: 0.5; | ||
} | ||
``` | ||
Note: `speed: 1.2` is the minimum value before the background image is fixed. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1819615
82