小编gur*_*ani的帖子

Flickity 滑块问题,最后一张幻灯片后有空间,滑块继续滚动

我在使用 Flickity 滑块时遇到了问题;\n 问题是滑块完全按照我想要的方式放置在那里...但是...\n 在我滑动之后,它向左移动太多并留下了很大的痕迹后面的空间量;我查看了 \n 代码,没有任何结果;也许滑块的设置有问题?

\n\n
     <div class=\'carousel-section\'>\n <div class=\'carousel-wrapper\'>\n <h2>\n  Some Clients About us\n   </h2>\n  <div class="carousel ">\n  <div class="carousel-cell">\n    <div class="carousel-cell-image"> {% if module.third.src %}\n    {% set sizeAttrs = \'width="{{ module.third.width }}" height="{{ module.third.height }}"\' %}\n    {% if module.third.size_type == \'auto\' %}\n        {% set sizeAttrs = \'style="max-width: 100%; height: auto;"\' %}\n    {% elif module.third.size_type == \'auto_custom_max\' %}\n        {% set sizeAttrs = \'width="100%" height="auto" style="max-width: {{ module.third.max_width }}px; max-height: {{ module.third.max_height }}px"\' %}\n    {% endif %}\n    <img …
Run Code Online (Sandbox Code Playgroud)

html javascript css hubspot

2
推荐指数
1
解决办法
4299
查看次数

标签 统计

css ×1

html ×1

hubspot ×1

javascript ×1