index.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Vite App</title>
  8. </head>
  9. <body>
  10. <div class="slider">
  11. <div class="slider__wrapper">
  12. <div class="slider__slide">
  13. <img
  14. src="https://images.unsplash.com/photo-1494500764479-0c8f2919a3d8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80"
  15. alt="" class="img">
  16. </div>
  17. <div class="slider__slide">
  18. <img
  19. src="https://images.unsplash.com/photo-1494500764479-0c8f2919a3d8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80"
  20. alt="" class="img">
  21. </div>
  22. <div class="slider__slide">
  23. <img
  24. src="https://images.unsplash.com/photo-1494500764479-0c8f2919a3d8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80"
  25. alt="" class="img">
  26. </div>
  27. <div class="slider__slide">
  28. <img
  29. src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80"
  30. alt="" class="img">
  31. </div>
  32. <div class="slider__slide">
  33. <img
  34. src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80"
  35. alt="" class="img">
  36. </div>
  37. </div>
  38. <button class="slider__left-btn">
  39. <svg xmlns="http://www.w3.org/2000/svg" height="2.5em" viewBox="0 0 320 512">
  40. <path
  41. d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z" />
  42. </svg>
  43. </button>
  44. <button class="slider__right-btn">
  45. <svg xmlns="http://www.w3.org/2000/svg" height="2.5em" viewBox="0 0 320 512">
  46. <!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
  47. <path
  48. d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z" />
  49. </svg>
  50. </button>
  51. <div class="slider__dots"></div>
  52. </div>
  53. <script type="module" src="/main.js"></script>
  54. </body>
  55. </html>