Picture preview:
CSS code:
<style>.statuslist{width:240px;float: Left;Line-height:68px;margin:0 2px;text-align:Center;font-family:"Microsoft Jas Black";font-size:14px;}/*Color*/. Schedulegray{Background-color:#e5e5e5;Height:9px; }/*Purple*/. Schedulegreen{Background-color:#6dc942;width:50%;Height:9px;float: Left;}/*Green*/. Scheduleblue{Background-color:#6767c6;width:80%;Height:9px;float: Left;}/*Blue*/</style>
HTML code:
<Divclass= "Statuslist"> <Divclass= "Schedulegray"style= "position:relative; margin-top:22px; z-index:-1;"> <Divstyle= "float:left; position:absolute; left:0; top:0; z-index:10; z-index:9999;"><imgsrc= "Workanpai_15.png"/></Div> <!--you can set the class to change the color of the progress bar, width can set the progress bar Progress - <Divclass= "Schedulegreen"style= "position:relative; z-index:0;width:20%"> <Divstyle= "position:absolute; top:11px; left:120px; height:14px; line-height:14px; color: #6dc942;">20%</Div> </Div> <!--Templates - <Divstyle= "float:right; position:absolute; right:0; top:0;"><imgsrc= "Workanpai_18.png" /></Div> </Div></Div>
CSS Static progress bar