Bootstrap進(jìn)度條學(xué)習(xí)使用
更新時間:2017年02月09日 09:30:13 作者:輕擾時光
這篇文章主要為大家詳細(xì)介紹了Bootstrap進(jìn)度條的學(xué)習(xí)使用,具有一定的參考價值,感興趣的小伙伴們可以參考一下
本文實例為大家分享了Bootstrap進(jìn)度條的具體實現(xiàn)代碼,供大家參考,具體內(nèi)容如下
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap</title>
<link rel="stylesheet" href="css/bootstrap.css" rel="external nofollow" />
</head>
<body>
<div class="container">
<div class="row">
<div class="progress"><!--進(jìn)度條-->
<div class="progress-bar" style="width:60%">60%</div>
</div>
<div class="progress">
<div class="progress-bar progress-bar-danger" style="width:40%">40%</div>
</div>
<div class="progress">
<div class="progress-bar progress-bar-info" style="width:80%">80%</div>
</div>
<div class="progress">
<div class="progress-bar progress-bar-warning" style="width:75%">75%</div>
</div>
<!--帶條紋的動態(tài)的進(jìn)度條-->
<div class="progress">
<div class="progress-bar progress-bar-success progress-bar-striped active" style="width:68%">68%</div>
</div>
<!--帶堆疊效果的進(jìn)度條-->
<div class="progress">
<div class="progress-bar" style="width:10%">10%</div>
<div class="progress-bar progress-bar-danger" style="width:10%">40%</div>
<div class="progress-bar progress-bar-info" style="width:20%">80%</div>
<div class="progress-bar progress-bar-warning" style="width:30%">75%</div>
<div class="progress-bar progress-bar-success progress-bar-striped active" style="width:20%">20%</div>
</div>
</div>
</div>
<script src="js/jquery-2.1.0.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
效果圖:

以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。
您可能感興趣的文章:
- Bootstrap每天必學(xué)之進(jìn)度條
- BootStrap初學(xué)者對彈出框和進(jìn)度條的使用感覺
- BootStrap 實現(xiàn)各種樣式的進(jìn)度條效果
- 有趣的bootstrap走動進(jìn)度條
- bootstrap實現(xiàn)動態(tài)進(jìn)度條效果
- bootstrap多種樣式進(jìn)度條展示
- Bootstrap源碼學(xué)習(xí)筆記之bootstrap進(jìn)度條
- Bootstrap進(jìn)度條實現(xiàn)代碼解析
- Bootstrap 3 進(jìn)度條的實現(xiàn)
- Bootstrap實現(xiàn)各種進(jìn)度條樣式詳解
相關(guān)文章
JavaScript設(shè)計模式學(xué)習(xí)之適配器模式
這篇文章主要介紹了JavaScript設(shè)計模式之適配器模式,對設(shè)計模式不熟悉的同學(xué),可以參考學(xué)習(xí)一下2021-04-04
js異步之a(chǎn)sync和await實現(xiàn)同步寫法
本文主要介紹了js異步之a(chǎn)sync和await實現(xiàn)同步寫法,文中通過示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下2022-03-03
JavaScript轉(zhuǎn)換農(nóng)歷類實現(xiàn)及調(diào)用方法
農(nóng)歷是日常生活中不可或缺的一部分,它與人類的生活息息相關(guān),從某種程度上說,它一直伴隨著我們,今天的任務(wù)是JavaScript轉(zhuǎn)換農(nóng)歷類的實現(xiàn),感興趣的你可以千萬不要錯過,希望本文對你有所幫助2013-01-01
javascript 彈出的窗口返回值給父窗口具體實現(xiàn)
這篇文章主要介紹了javascript 彈出的窗口返回值給父窗口具體實現(xiàn),有需要的朋友可以參考一下2013-11-11

