Ich versuche, eine Progrss Bar wie in der folgenden Abbildung zu sehen.benutzerdefinierte Fortschrittsbalken Änderung Herausforderung
Was ich nicht in der Lage bin zu tun ist, um
- eine Verbindungslinie zwischen den Zahlen ziehen
- aktive Nummer wird
- abgeschlossen Schritte, um eine grüne Linie haben einen größeren Kreis hat und unvollendete mit grauer Linie.
Hilfe bitte.
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>
Können wir Ihren Code sehen? –