CSS条状图表进度条
<style>
.graph {
position: relative; /* IE is dumb */
width: 200px;
border: 1px solid #ff0000;
padding: 2px;
}
.graph .bar {
display: block;
position: relative;
background: #ff0000;
text-align: center;
color: #333;
height: 2em;
line-height: 2em;
}
</style>
<div class="graph">
<strong class="bar" style="width: 64%;">cssbbs.com 64%</strong>
</div>
本文网址:https://www.dedexuexi.com/divcss/jc/2288.html
本站部分文章搜集与网络,如有侵权请联系本站,转载请说明出处。