CSS進度條顯示

來源:互聯網
上載者:User
  1. <html>  
  2. <head>  
  3. <style type="text/css">  
  4. .schedule{    
  5. background: url(http://assets.dj10.net/images/chrome/proportion.gif)  repeat-x scroll left center transparent;    
  6. width:80px;   
  7. height: 11px;   
  8. font-size:0;   
  9.   
  10. }   
  11. .mine{   
  12.  background: url(http://assets.dj10.net/images/chrome/proportion.gif) repeat-x scroll left bottom transparent;   
  13.  width: 50%; /*進度條控制*/   
  14. height: 11px;   
  15.   
  16. }   
  17.   
  18.   
  19. </style>  
  20. </head>  
  21.   
  22. <body>  
  23.   <div class="schedule">  
  24.      <span class="mine"></span>  
  25.   </div>  
  26. </body>  
  27.   
  28. </html> 
相關文章

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.