我正在尋找一個垂直條,我可以更改像百分比類型的百分比類型的百分比,但是在垂直格式中,我成功地獲得了水平的使用此工作的值: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