mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-17 21:15:01 +02:00
Update to version 1.6.2
This commit is contained in:
parent
8a891590da
commit
fe18dbaef6
15
index.html
15
index.html
|
@ -34,6 +34,12 @@
|
|||
<li>
|
||||
<a href="https://github.com/matteo-rigon">Matteo Rigon</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/lazyhummingbird">Corey Austin</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/rrroyal">rrroyal</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<main>
|
||||
|
@ -216,6 +222,15 @@
|
|||
<pre><code class="language-markup"><div data-tilt data-tilt-reset="false"></div></code></pre>
|
||||
</div>
|
||||
</section>
|
||||
<section class="example">
|
||||
<div class="box" data-tilt data-tilt-full-page-listening></div>
|
||||
<div class="info">
|
||||
<h3>Full page listening</h3>
|
||||
<p>Setting this option will make the element respond to any mouse movements on page.</p>
|
||||
<pre><code class="language-markup"><div data-tilt data-tilt-full-page-listening></div></code></pre>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="example">
|
||||
<div class="box" data-tilt data-tilt-scale="1.1"></div>
|
||||
<div class="info">
|
||||
|
|
2
src/vanilla-tilt.min.js
vendored
2
src/vanilla-tilt.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -375,6 +375,12 @@ h4 {
|
|||
background: linear-gradient(to right, #3a7bd5, #00d2ff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
||||
}
|
||||
|
||||
.example:nth-child(12) .box {
|
||||
background: #3a7bd5; /* fallback for old browsers */
|
||||
background: -webkit-linear-gradient(to left, #3a6073, #3a7bd5); /* Chrome 10-25, Safari 5.1-6 */
|
||||
background: linear-gradient(to left, #3a6073, #3a7bd5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
||||
}
|
||||
|
||||
button {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
|
Loading…
Reference in a new issue