zoukankan      html  css  js  c++  java
  • Bootstrap 进度条



    @{
        Layout = null;
    }


    <!DOCTYPE html>


    <html>
    <head>
        <meta name="viewport" content="width=device-width" />
        <title>Index</title>
        <link href="~/Bootstrap3.3.7/css/bootstrap.min.css" rel="stylesheet" />
        <script src="~/Scripts/jquery-1.10.2.min.js"></script>  
        <script src="~/Bootstrap3.3.7/js/bootstrap.min.js"></script>
    </head>
    <body>
        <div class="progress">
            <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style=" 60%;">60%</div>
        </div>


        <div class="progress">
            <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min- 2em;">
                0%
            </div>
        </div>
        <div class="progress">
            <div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min- 2em; 2%;">
                2%
            </div>
        </div>


        <div class="progress">
            <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style=" 40%">
               
            </div>
        </div>


        <div class="progress">
            <div class="progress-bar progress-bar-success progress-bar-striped"  aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style=" 40%">
                <span class="sr-only">40% Complete (success)</span>
            </div>
        </div>


        <div class="progress">
            <div class="progress-bar progress-bar-striped active" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style=" 45%">
                
            </div>
        </div>


        <div class="progress">
            <div class="progress-bar progress-bar-success" style=" 35%">
                35% 
            </div>
            <div class="progress-bar progress-bar-warning progress-bar-striped" style=" 20%">
                20%
            </div>
            <div class="progress-bar progress-bar-danger" style=" 10%">
                10%
            </div>
        </div>



        
    </body>
    </html>
  • 相关阅读:
    js实现截图并下载到本地
    div里面的文本内容居中显示
    div里面的p标签内容上下垂直居中
    《将博客搬至CSDN》
    RobotFramework 用例出错后继续操作
    selenium+log4j+eclipse相关问题及解决方案
    linux 安装maven
    LINUX下查看系统参数的常见命令
    Linux常用命令使用
    grep 命令
  • 原文地址:https://www.cnblogs.com/dxmfans/p/9434663.html
Copyright © 2011-2022 走看看