bootstrap輪播圖
阿新 • • 發佈:2021-02-04
<div class="carousel-caption"><!--為圖片新增文字說明--> <h4>圖一</h4> </div> </div> <div class="item"> <img src="images/banner1.jpg"/> <div class="carousel-caption"> <h4>圖二</h4> </div> </div> <div class="item"> <img src="images/banner2.jpg"/> <div class="carousel-caption"> <h4>圖三</h4> </div> </div> </div> <!--3.輪播圖左右按鈕--> <a href="#box" class="left carousel-control" data-slide = "prev" > <span class="glyphicon glyphicon-chevron-left"></span> </a> <a href="#box" class="right carousel-control" data-slide = "next" > <span class="glyphicon glyphicon-chevron-right"></span> </a>