Javascript

【Javascript】無限スライドを実装Infinite Slide with Velocity

March 9, 2017
infinite-slide-with-velocity

Infinite Slide with VelocityはVelocity.jsで無限スライドを実装。

Libraries

Velocity.js

HTML

  <div class="area">
    <div class="box-frame js-box-frame">
      <div class="box js-box"></div>
      <div class="box js-box"></div>
    </div>
  </div>
  <script src="velocity.min.js"></script>
  <script src="index.js"></script>

MIT