我有第二个旋转木马随着点击和拖动而移动......但我想显示箭头让用户知道这是一个滑块......有没有办法用 materialize 显示它?还是我必须用另一种方式制作它? 最佳答案 <div class="carousel carousel-slider center" data-indicators="true"> <div class="carousel-fixed-item center"> <a class="btn waves-effect white grey-text darken-text-2">button</a> </div> <div class="carousel-item red white-text" href="#one!"> <h2>First Panel</h2> <p class="white-text">This is your first panel</p> </div> <div class="carousel-item amber white-text" href="#two!"> <h2>Second Panel</h2> <p class="white-text">This is your second panel</p> </div> <div class="carousel-item green white-text" href="#three!"> <h2>Third Panel</h2> <p class="white-text">This is your third panel</p> </div> <div class="carousel-item blue white-text" href="#four!"> <h2>Fourth Panel</h2> <p class="white-text">This is your fourth panel</p> </div> </div>Javascript $('.carousel.carousel-slider').carousel({fullWidth: true});所以像这样的事情?来源:http://materializecss.com/carousel.html使用按钮 : https://codepen.io/Paco_Cervantes/pen/ZLxKpj?q=materialize+carousel&limit=all&type=type-pens如果您需要前面的特定单词或编辑,请告诉我关于css - 如何将上一个和下一个箭头放在实现轮播中?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46454964/ 10-12 15:30