styles.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width" />
  6. <title>styles</title>
  7. <link rel="stylesheet" href="../css/flickity.css" />
  8. <link rel="stylesheet" href="sandbox.css" />
  9. </head>
  10. <body>
  11. <h1>styles</h1>
  12. <div class="container carousel1">
  13. <div class="cell">1</div>
  14. <div class="cell">2</div>
  15. <div class="cell">3</div>
  16. <div class="cell">4</div>
  17. <div class="cell">5</div>
  18. </div>
  19. <div class="container carousel2">
  20. <div class="cell">1</div>
  21. <div class="cell">2</div>
  22. <div class="cell">3</div>
  23. <div class="cell">4</div>
  24. <div class="cell">5</div>
  25. </div>
  26. <div class="container carousel3">
  27. <div class="cell">1</div>
  28. <div class="cell">2</div>
  29. <div class="cell">3</div>
  30. <div class="cell">4</div>
  31. <div class="cell">5</div>
  32. </div>
  33. <script src="../bower_components/get-size/get-size.js"></script>
  34. <script src="../bower_components/desandro-matches-selector/matches-selector.js"></script>
  35. <script src="../bower_components/ev-emitter/ev-emitter.js"></script>
  36. <script src="../bower_components/unipointer/unipointer.js"></script>
  37. <script src="../bower_components/unidragger/unidragger.js"></script>
  38. <script src="../bower_components/fizzy-ui-utils/utils.js"></script>
  39. <script src="../js/cell.js"></script>
  40. <script src="../js/slide.js"></script>
  41. <script src="../js/animate.js"></script>
  42. <script src="../js/flickity.js"></script>
  43. <script src="../js/drag.js"></script>
  44. <script src="../js/prev-next-button.js"></script>
  45. <script src="../js/page-dots.js"></script>
  46. <script src="../js/player.js"></script>
  47. <script src="../js/add-remove-cell.js"></script>
  48. <script src="../js/lazyload.js"></script>
  49. <script>
  50. docReady( function() {
  51. new Flickity( '.carousel1', {
  52. arrowShape: {
  53. x0: 10,
  54. x1: 50, y1: 30,
  55. x2: 70, y2: 30,
  56. x3: 50
  57. }
  58. });
  59. new Flickity( '.carousel2', {
  60. arrowShape: 'M 0,50 L 60,00 L 50,30 L 80,30 L 80,70 L 50,70 L 60,100 Z'
  61. });
  62. });
  63. </script>
  64. </body>
  65. </html>