0
私は下の図のようにプログラムバーを作ろうとしています。私が行うことができませんどのようなカスタムプログレスバー修正案件
は
- へ
- アクティブ数が
- 完了したステップは、灰色の線と緑のラインと未完了を持って大きな円を持っています数字の間の接続線を引くです。
助けてください。
CSS
.custom-progress-bar ul li span {
width: 27px;
height: 27px;
background: #cbcbcb;
color:#fff;
float: right;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
text-align: center;
margin-left: 14px;
font-size: 18px;
line-height: 28px;
}
.custom-progress-bar ul {
list-style:none;
}
.custom-progress-bar .last{
width: 80px;
border-radius: 20px;
}
.custom-progress-bar .completed{
background: #9cc656;
color:#fff;
}
HTML
<div class="custom-progress-bar">
<ul>
<li><span class="bubble"><a href="#">1</a></span></li>
<li><span class="bubble"><a href="#">2</a></span></li>
<li><span class="bubble"><a href="#">3</a></span></li>
<li><span class="bubble completed"><a href="#">4</a></span></li>
<li><span class="bubble"><a href="#">5</a></span></li>
<li><span class="bubble last"><a href="#">finish</a></span></li>
</ul>
</div>
コードは表示できますか? –