Advertisement
rogerin

barra progresso

Jan 21st, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.39 KB | None | 0 0
  1. <style type="text/css">
  2. .meter-wrap{
  3.     position: relative;
  4. }
  5.  
  6. .meter-wrap, .meter-value, .meter-text {
  7.     /* Altura e largura do MAXIMO que pode chegar a barra */
  8.  
  9.     width: 155px; height: 30px;
  10. }
  11.  
  12. .meter-wrap, .meter-value {
  13.     background: #000;
  14. }
  15.            
  16. .meter-text {
  17.     position: absolute;
  18.     top:0;
  19.     left:0;
  20.     padding-top: 5px;
  21.     color: #fff;
  22.     text-align: center;
  23.     width: 100%;
  24. }
  25.  
  26. </style>
  27.  
  28. <br>
  29. <div class="meter-wrap">
  30.     <div class="meter-value" style="background-color: #0a0; width: 10%;">
  31.         <div class="meter-text">
  32.             10%
  33.         </div>
  34.     </div>
  35. </div>
  36. <br>
  37. <div class="meter-wrap">
  38.     <div class="meter-value" style="background-color: #0a0; width: 30%;">
  39.         <div class="meter-text">
  40.             30%
  41.         </div>
  42.     </div>
  43. </div>
  44.  
  45. <br>
  46. <div class="meter-wrap">
  47.     <div class="meter-value" style="background-color: #0a0; width: 50%;">
  48.         <div class="meter-text">
  49.             50%
  50.         </div>
  51.     </div>
  52. </div>
  53.  
  54. <br>
  55.  
  56. <div class="meter-wrap">
  57.     <div class="meter-value" style="background-color: #0a0; width: 80%;">
  58.         <div class="meter-text">
  59.             80%
  60.         </div>
  61.     </div>
  62. </div>
  63. <br>
  64. <div class="meter-wrap">
  65.     <div class="meter-value" style="background-color: #0a0; width: 100%;">
  66.         <div class="meter-text">
  67.             100%
  68.         </div>
  69.     </div>
  70. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement