我正在寻找一个垂直条,我可以更改像百分比类型的百分比类型的百分比,但是在垂直格式中,我成功地获得了水平的使用此工作的值:CSS Progress Bar但现在我想模仿,但垂直。垂直CSS/HTML5进度条
Is there a way that I can do this。
这是竖条代码:
<div class="score">
<div id="test" class="score-completed" style="height:80;">
<div> </div>
</div>
</div>
.score {
width:34px;
height:141px;
background: url(/assets/images/accordion/score.png) no-repeat 0 0px;
}
.score-completed {
width:26px;
margin-left: -1px;
background: url(/assets/images/accordion/score.png) no-repeat 1px 0;
}
.score-completed div {
float: right;
height: 50%;
width:26px;
margin:99px 1px 0 0;
background: url(/assets/images/accordion/score.png) no-repeat 100% 100%;
display: inline; /* IE 6 double float bug */
}
您的第二个链接无法正常工作 – oezi 2010-11-22 12:10:01
现在感谢您的工作 – Solidariti 2010-11-22 12:22:53