progress html code example

Example 1: css progress bar

<!-- Basic Bootstrap Progress Bar -->
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="70"
  aria-valuemin="0" aria-valuemax="100" style="width:70%">
    <span class="sr-only">70% Complete</span>
  </div>
</div>

<!-- W3.CSS-->
<div class="w3-border">
  <div class="w3-grey" style="height:24px;width:20%"></div>
</div>

<!-- Foundation 5.2 (Yep) -->
<div class="progress [small-# large-#] [radius round]">
  <span class="meter [secondary alert success]" style="width: [1 - 100]%"></span>
</div>

<!-- Foundation 6.2 (Yep Yep)-->
<div class="progress" role="progressbar" tabindex="0" aria-valuenow="50" aria-valuemin="0" aria-valuetext="50 percent" aria-valuemax="100">
  <div class="progress-meter" style="width: 50%"></div>
</div>

Example 2: html progress element

<label for="file">Downloading progress:</label>
<progress id="file" value="32" max="100"> 32% </progress>

Example 3: linear progress bar green color

<ProgressBar
    android:id="@+id/ProgressBar"
    style="?android:attr/progressBarStyleHorizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:indeterminate="false"
    android:maxHeight="10dip"
    android:minHeight="10dip"
    android:progress="50"
    android:progressDrawable="@drawable/greenprogress" />

Tags:

Html Example