秋天,稻田里的稻谷已经成熟了,一眼看去,好像铺了一地的金子,而农民伯伯们一个接一个到自己的田里捡金子。微风吹过,金色的海洋掀起一层层麦浪。
废话不多说了,直接给大家贴代码了,具体代码如下所述:
<div id="carousel-menu" class="carousel slide" data-ride="carousel"> //小圆点 <ol class="carousel-indicators"> <li data-target="#carousel-menu" data-slide-to="0" class=""></li> <li data-target="#carousel-menu" data-slide-to="1" class=""></li> <li data-target="#carousel-menu" data-slide-to="2" class=""></li> <li data-target="#carousel-menu" data-slide-to="3" class="active"></li> </ol> //图片 <div class="carousel-inner"> <div class="item"> <img src="img/img-slider-1.jpg" > </div> <div class="item"> <img src="img/img-slider-2.jpg" > </div> <div class="item"> <img src="img/img-slider-3.jpg" > </div> <div class="item active"> <img src="img/img-slider-4.jpg"> </div> </div> //左右点击 <a class="left carousel-control" rel="nofollow noopener noreferrer" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="icon-prev" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" rel="nofollow noopener noreferrer" href="#carousel-example-generic" role="button" data-slide="next"> <span class="icon-next" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>
以上所述是小编给大家介绍的BootStrap轮播HTML代码,希望对大家有所帮助,如果大家哟任何疑问欢迎给我留言,小编会及时回复大家的!
本文BootStrap轮播HTML代码(推荐)到此结束。把热爱的事情做到极致,便成了价值。小编再次感谢大家对我们的支持!