Css static progress bar_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:54:18
Original
769 people have browsed it

Image preview:

Css code:

<style>.statusList{width:240px; float:left; line-height:68px;margin:0 2px; text-align:center; font-family:"微软雅黑"; font-size:14px;}/*颜色*/.scheduleGray{background-color:#e5e5e5;height:9px; }                                  /*紫色*/.scheduleGreen{background-color: #6dc942;width: 50%;height: 9px;float:left;}       /*绿色*/.scheduleBlue{background-color:#6767c6; width:80%;height:9px; float:left;}         /*蓝色*/</style>
Copy after login

Html code:

<div class="statusList">  <div class="scheduleGray" style="position:relative; margin-top:22px; z-index:-1;">    <div style="float:left; position:absolute; left:0; top:0; z-index:10; z-index:9999;"><img src="workanpai_15.png"/></div>  <!-- 可以设置class改变进度条的颜色,width可以设置进度条进度 -->  <div class="scheduleGreen" style="position:relative; z-index:0;width:20%">    <div style="position: absolute; top: 11px; left: 120px; height: 14px; line-height: 14px; color:#6dc942;">20%</div>  </div>  <!-- 模板 -->    <div style="float:right; position:absolute; right:0; top:0;"><img src="workanpai_18.png" /></div>  </div></div>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template