Bootstrap 进度类
在 Bootstrap 中使用.progress 类创建进度条。该类是进度条的容器。
你可以尝试运行以下代码,在 Bootstrap 中实现进度类
示例
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "progress"> <div class = "progress-bar" role = "progressbar" aria-valuenow = "90" aria-valuemin = "0" aria-valuemax = "100" style = "width: 90%;"> <span class = "sr-only">90% Complete</span> </div> </div> </body> </html>
广告