- 修改indicators和底部的间距
.ol.carousel-indicators{
bottom: 0px;margin-bottom: 0px;}
- 修改indicators的圆点大小
ol.carousel-indicators li {width: 6px;height: 6px;}ol.carousel-indicators li.active {width: 8px;height: 8px;}
- 修改左右箭头
.center-vertical {
position:relative;
top:40%;
transform:translateY(-50%);
}
<!-- 轮播(Carousel)导航 -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="center-vertical">‹</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="center-vertical">›</span>
</a>