Use CSS to write a simple step progress bar
HTML code:
View Code
CSS code:
{margin:0;padding:0;margin-left:12px;margin-top:-9px;padding-left:10px;list-style:none;font-size:12px}. Step-list li{height:60px;border-left:1px Solid #d9d9d9}.step-list li:before{content: "border:5px solid #f3f3f3; background-color:green;display:inline-block;width:10px;height:10px;border-radius:50%;margin-left:-10px; Margin-right:10px}.step-list. Step{font-weight:700;margin-right:8px;font-family:arial}.step-list. content{ Display:inline-block;width:653px;vertical-align:text-top;line-height:1.3em}.step-list. Latest{border:none; }. Step-list. Latest:before{background-color: #fe4300; Border-color: #f8e9e4} "_ue_custom_node_=" true ">
View Code
The above is the step I put to everyone's progress bar CSS, I hope that in the future will be helpful to everyone.
Related articles:
CSS for mouse trigger effects
A diagram of a Completed button instance implemented in CSS
CSS implement mouse to change text content