Bootstrap基本组件学习笔记之进度条(15)

Bootstrap提供了各式各样的进度条。

看下面的例子:

<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1"> <link href=""> <script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> <script src=""></script> <title>进度条</title> </head> <body> <div> <div> <div> <h1>进度条</h1> </div> <div> <div> <div>progress-bar-info(20%)</div> </div> <div> <div>progress-bar-success(60%)</div> </div> <div> <div>progress-bar-danger(35%)</div> </div> <div> <div>progress-bar-warning(90%)</div> </div> <div> <div>progress-bar-striped(66%)</div> </div> <div> <div>progress-bar-warning(35%)</div> <div>progress-bar-danger(25%)</div> <div>progress-bar-info(30%)</div> </div> </div> </div> </div> </body> </html>

效果如下:

Bootstrap基本组件学习笔记之进度条(15)

其中下面的一段产生了动态效果:

<div> <div>progress-bar-warning(66%)</div> </div>

下面一段产生了叠加效果:

<div> <div>progress-bar-warning(35%)</div> <div>progress-bar-danger(25%)</div> <div>progress-bar-info(30%)</div> </div>

如果大家还想深入学习,可以点击这里进行学习,再为大家附3个精彩的专题:

Bootstrap学习教程

Bootstrap实战教程

Bootstrap插件使用教程

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wwfxpp.html