You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>What parallax.js will do is create a fixed-position element for each parallax image at the start of the document’s body. This mirror element will sit behind the other elements and match the position and dimensions of it’s target object.</p>
73
+
<p>What parallax.js will do is create a fixed-position element for each parallax image at the start of the document’s body. This mirror element will sit behind the other elements and match the position and dimensions of its target object.</p>
74
74
75
75
<p>Due to the nature of this implementation, you must ensure that these parallax objects and any layers below them are transparent so that you can see the parallax effect underneath. Also, if there is no other content in this element, you will need to ensure that it has some fixed dimensions otherwise you won’t see anything.</p>
76
76
@@ -89,7 +89,7 @@ <h3 id="underthehood">Under The Hood</h3>
89
89
<h2id="options">Options</h2>
90
90
<p>Options can be passed in via data attributes of JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-image-src=""</code>.</p>
91
91
92
-
<divclass="alert alert-warning"><p>Note that when specifying these options as html data-attributes, you should convert “camelCased” variable names into “dash-separated” lower-case names (i.e. <code>zIndex</code> would be <code>data-z-index=""</code>).</p></div>
92
+
<divclass="alert alert-warning"><p>Note that when specifying these options as html data-attributes, you should convert “camelCased” variable names into “dash-separated” lower-case names (e.g. <code>zIndex</code> would be <code>data-z-index=""</code>).</p></div>
93
93
<divclass="table-responsive">
94
94
<tableclass="table table-bordered table-striped">
95
95
<thead>
@@ -122,7 +122,7 @@ <h2 id="options">Options</h2>
122
122
<td>position</td>
123
123
<td>xPos yPos</td>
124
124
<td>center center</td>
125
-
<tdrowspan="3">This is analogous to the background-position css property. Specify coordinates as top, bottom, right, left, center, or pixel values (i.e. -10px 0px). The parallax image will be positioned as close to these values as possible while still covering the target element.</td>
125
+
<tdrowspan="3">This is analogous to the background-position css property. Specify coordinates as top, bottom, right, left, center, or pixel values (e.g. -10px 0px). The parallax image will be positioned as close to these values as possible while still covering the target element.</td>
0 commit comments