Css靜態進度條

來源:互聯網
上載者:User

標籤:style   blog   http   io   color   ar   os   sp   strong   

圖片預覽:

Css代碼:

<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>

Html代碼:

<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>

Css靜態進度條

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.