亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

第十篇BootStrap輪播插件使用詳解

 更新時(shí)間:2016年06月21日 16:06:32   作者:-夏昊-  
Bootstrap 輪播插件是一種靈活的響應(yīng)式的向站點(diǎn)添加滑塊的方式。本文給大家介紹BootStrap輪播插件使用詳解,非常不錯(cuò)具有參考借鑒價(jià)值,感興趣的朋友一起學(xué)習(xí)吧

Bootstrap 輪播插件是一種靈活的響應(yīng)式的向站點(diǎn)添加滑塊的方式。除此之外,內(nèi)容也是足夠靈活的,可以是圖像、內(nèi)嵌框架、視頻或者其他您想要放置的任何類型的內(nèi)容。

使用bootstrap的輪播插件可以向站點(diǎn)添加滑塊,內(nèi)容可以是圖像,內(nèi)嵌框架,視頻或其它任何內(nèi)容,使用輪播插件需要引入bootstrap.min.js.

先給大家展示下效果圖,如果大家感覺還不錯(cuò),請(qǐng)參考實(shí)現(xiàn)代碼。

效果圖如下所示:

關(guān)鍵代碼如下:

<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!—輪播導(dǎo)航 -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!—輪播項(xiàng)目 -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="~/images/Chrysanthemum.jpg" />
<div class="carousel-caption">
ffffffff
</div>
</div>
<div class="item">
<img src="~/images/Desert.jpg" />
<div class="carousel-caption">
xxxxxxxxxxxxxxxx
</div>
</div>
<div class="item">
<img src="~/images/Lighthouse.jpg" />
<div class="carousel-caption">
mmmmmmmmmmmm
</div>
</div>
</div>
<!—輪播導(dǎo)航 -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>

以上所述是小編給大家介紹的第十篇BootStrap輪播插件使用詳解的全部敘述,希望對(duì)大家有所幫助,如果大家有任何疑問請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!

相關(guān)文章

最新評(píng)論