bootstarp进度条样式

来源:互联网 发布:最好的猫粮 知乎 编辑:程序博客网 时间:2024/06/11 09:46

bootstarp中的进度条样式

把里面的min.css中的内容拿出来,作为单独样式

    .progress.active .progress-bar, .progress-bar.active {            -webkit-animation: progress-bar-stripes 2s linear infinite;            -o-animation: progress-bar-stripes 2s linear infinite;            animation: progress-bar-stripes 0.2s linear infinite;        }        .progress-striped .progress-bar, .progress-bar-striped {            background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%,                transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%,                rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);            background-size: 40px 40px;        }        .progress-bar {            float: left;            width: 100%;            height:27px;            font-size: 12px;            line-height: 20px;            color: #fff;            text-align: center;            background-color: #337ab7;            -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);            -webkit-transition: width .6s ease;            -o-transition: width .6s ease;            transition: width .6s ease;        }        @keyframes progress-bar-stripes{            from{background-position:40px 0}            to{background-position:0 0}        }        .progress-value{            float: left;            padding-left: 13px;            font-weight: bold;        }---------------------------------------------------------------------------------<div wicket:id="busy" class="progress-bar progress-bar-info progress-bar-striped active">                    <div class="progress-value">进度条展示</div></div>