Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!-- header -->
<header>
  <h2>Pure CSS Progress Bars</h2>
  <div class="project">
    <a class="btn1 gitBtn" href="https://github.com/rkchauhan/pure-css-progress-bars/" target="_blank"><i class="fa fa-github"></i> GitHub</a>
    <a class="btn1 penBtn" href="https://codepen.io/rkchauhan/pen/LGgaeK" target="_blank"><i class="fa fa-codepen"></i> CodePen</a>
  </div>
</header><!-- @end header -->

<!-- main -->
<main>
  <div class="main-content">
    <div id="example-1" class="examples">
      <h3>Example #1 - Progress1</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-info" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-danger" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-success" data-percent="45" style="width: 45%;">
            <span class="cssProgress-label">45%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-warning" data-percent="35" style="width: 35%;">
            <span class="cssProgress-label">35%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-1 -->

    <div id="example-2" class="examples">
      <h3>Example #2 - Progress2</h3>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-info" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-danger" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success" data-percent="45" style="width: 45%;">
            <span class="cssProgress-label">45%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-warning" data-percent="35" style="width: 35%;">
            <span class="cssProgress-label">35%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-2 -->

    <div id="example-3" class="examples">
      <h3>Example #3 - Progress3</h3>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-info" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-danger" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-success" data-percent="45" style="width: 45%;">
            <span class="cssProgress-label">45%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning" data-percent="35" style="width: 35%;">
            <span class="cssProgress-label">35%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-3 -->

    <div id="example-4" class="examples">
      <h3>Example #4 - Stripes</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-info cssProgress-stripes" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-stripes" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-stripes" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-4 -->

    <div id="example-5" class="examples">
      <h3>Example #5 - Animation</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-active" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-active" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-active" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-5 -->

    <div id="example-6" class="examples">
      <h3>Example #6 - Reverse animation</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-active-right" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-active-right" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-active-right" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-6 -->

    <div id="example-7" class="examples">
      <h3>Example #7 - Float right</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar cssProgress-right" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-stripes cssProgress-right" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-active-right cssProgress-right" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-7 -->

    <div id="example-8" class="examples">
      <h3>Example #8 - Label middle</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;">
            <span class="cssProgress-label">75%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-stripes" data-percent="65" style="width: 65%;">
            <span class="cssProgress-label">65%</span>
          </div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-active" data-percent="55" style="width: 55%;">
            <span class="cssProgress-label">55%</span>
          </div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-8 -->

    <div id="example-9" class="examples">
      <h3>Example #9 - Label top</h3>
      <div class="cssProgress">
        <div class="cssProgress-label2">75%</div>
        <div class="progress1">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="cssProgress-label2 cssProgress-label2-center">65%</div>
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-stripes" data-percent="65" style="width: 65%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="cssProgress-label2 cssProgress-label2-right">55%</div>
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-active" data-percent="55" style="width: 55%;"></div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-9 -->

    <div id="example-10" class="examples">
      <h3>Example #10 - Label bottom</h3>
      <div class="cssProgress">
        <div class="progress1">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;"></div>
        </div>
        <div class="cssProgress-label2">75%</div>
      </div>
      <div class="cssProgress">
        <div class="progress2">
          <div class="cssProgress-bar cssProgress-success cssProgress-stripes" data-percent="65" style="width: 65%;"></div>
        </div>
        <div class="cssProgress-label2 cssProgress-label2-center">65%</div>
      </div>
      <div class="cssProgress">
        <div class="progress3">
          <div class="cssProgress-bar cssProgress-warning cssProgress-active" data-percent="55" style="width: 55%;"></div>
        </div>
        <div class="cssProgress-label2 cssProgress-label2-right">55%</div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-10 -->

    <div id="example-11" class="examples">
      <h3>Example #11 - Progress4</h3>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar" data-percent="75" style="width: 75%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-info" data-percent="65" style="width: 65%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-warning" data-percent="55" style="width: 55%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-success" data-percent="45" style="width: 45%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-danger" data-percent="35" style="width: 35%;"></div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-11 -->

    <div id="example-12" class="examples">
      <h3>Example #12 - Progress4 with Glow & Bg color</h3>
      <div class="cssProgress">
        <div class="progress4 cssProgress-bg">
          <div class="cssProgress-bar cssProgress-glow" data-percent="75" style="width: 75%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4 cssProgress-bg-info">
          <div class="cssProgress-bar cssProgress-info cssProgress-glow" data-percent="65" style="width: 65%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4 cssProgress-bg-warning">
          <div class="cssProgress-bar cssProgress-warning cssProgress-glow" data-percent="55" style="width: 55%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4 cssProgress-bg-success">
          <div class="cssProgress-bar cssProgress-success cssProgress-glow" data-percent="45" style="width: 45%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4 cssProgress-bg-danger">
          <div class="cssProgress-bar cssProgress-danger cssProgress-glow" data-percent="35" style="width: 35%;"></div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-12 -->

    <div id="example-13" class="examples">
      <h3>Example #13 - Progress4 with Glow animation & size - [ lg, 2x, 3x, 4x, 5x ]</h3>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-glow-active cssProgress-lg" data-percent="75" style="width: 75%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-info cssProgress-glow-active cssProgress-2x" data-percent="65" style="width: 65%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-warning cssProgress-glow-active cssProgress-3x" data-percent="55" style="width: 55%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-success cssProgress-glow-active cssProgress-4x" data-percent="45" style="width: 45%;"></div>
        </div>
      </div>
      <div class="cssProgress">
        <div class="progress4">
          <div class="cssProgress-bar cssProgress-danger cssProgress-glow-active cssProgress-5x" data-percent="35" style="width: 35%;"></div>
        </div>
      </div>
      <span class="btn btn-primary progressStart">Start</span> &nbsp;&nbsp; <span class="btn btn-primary progressReset">Reset</span>
    </div><!-- @end #example-13 -->

  </div>
</main><!-- @end main -->

<!-- Footer -->
<footer>
  <div class="row">
    <div class="footer-content">
      <span><strong>Made in India</strong>,</span>
      <span>by <a href="https://twitter.com/rkchauhan01" target="_blank">Ravikumar Chauhan</a>.</span>
      <span><a href="https://github.com/rkchauhan/pure-css-progress-bars/" target="_blank">GitHub Project</a></span>
      <span><a href="https://codepen.io/rkchauhan/pen/LGgaeK" target="_blank">CodePen</a></span>
    </div>
  </div>
</footer><!-- @end footer -->
              
            
!

CSS

              
                /* -----------------------------------------------------
	Pure CSS Progress Bars
  GitHub Project: https://github.com/rkchauhan/pure-css-progress-bars/
	By: Ravikumar Chauhan
  Find me on -
	Twitter: https://twitter.com/rkchauhan01
  Facebook: https://www.facebook.com/ravi032chauhan
  GitHub: https://github.com/rkchauhan
  CodePen: https://codepen.io/rkchauhan
-------------------------------------------------------- */

@import url(https://fonts.googleapis.com/css?family=Roboto);
// Progress bg colours
$pg-default-bg: #EEE;
// Progress bar bg colours
$bar-default-bg: #3798d9;
$bar-info-bg: #9575cd;
$bar-danger-bg: #ef5350;
$bar-success-bg: #66bb6a;
$bar-warning-bg: #ffb74d;

// ADDS A BROWSER PREFIX TO THE PROPERTY
@mixin browser_prefix($property, $value) {
  -webkit-#{$property}: #{$value};
  -moz-#{$property}: #{$value};
  -ms-#{$property}: #{$value};
  -o-#{$property}: #{$value};
  #{$property}: #{$value};
}

// KEYFRAMES
@mixin keyframes($animation-name) {
  @-webkit-keyframes #{$animation-name} {
    @content;
  }
  @-moz-keyframes #{$animation-name} {
    @content;
  }
  @-ms-keyframes #{$animation-name} {
    @content;
  }
  @-o-keyframes #{$animation-name} {
    @content;
  }
  @keyframes #{$animation-name} {
    @content;
  }
}

// ANIMATION
@mixin animation($str) {
  @include browser_prefix('animation', $str);
}

@mixin cssProgressGlowActive($name, $color) {
  @include keyframes($name) {
    0%, 100% {
      box-shadow: 5px 0px 15px 0px #{$color};
    }
    45% {
      box-shadow: 1px 0px 4px 0px #{$color};
    }
  }
}

/* -----------------------------------------------------
	Body
-------------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 1em;
  font-family: "Roboto", sans-serif;
  background-color: #F8F8F8;
}

*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #ffa000;
  text-decoration: none;
  outline: none;

  &:hover {
    text-decoration: underline;
  }
}

/* -----------------------------------------------------
	Main
-------------------------------------------------------- */
main {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;

  .main-content {
    margin: 0 8px;
    padding: 60px 0;
  }

  .examples {
    display: block;
    margin-bottom: 65px;
    padding: 2.8rem 3%;
    background-color: #FFF;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.157);

    &:last-child { margin-bottom: 20px; }

    h3 {
      color: #444;
      margin: 0;
      padding: 0 0 20px 0;
    }
  }
}

/* -----------------------------------------------------
	Header
-------------------------------------------------------- */
header {
  display: block;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background-color: #FFF;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);

  h2 {
    margin: 0;
    padding: 25px 0;
    color: #646360;
    font-size: 2em;
    letter-spacing: 1px;
  }

  .project {
    display: block;
    padding: 8px 0;
  }
}

/* -----------------------------------------------------
	Footer
-------------------------------------------------------- */
footer {
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 80px;
  background-color: #FFF;
  border-top: 1px solid #EEE;

  .row {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
  }

  .footer-content {
    margin: 0 8px;
    padding: 25px 0 18px;
    text-align: center;

    span {
      color: rgba(0, 0, 0, 0.525);
      font-size: 0.857em;
      margin-right: 5px;
    }
  }

  @media only screen and (max-width: 768px) {
    span {
      display: block;
      width: 100%;
      margin-bottom: 8px;
    }
  }
}

/* -----------------------------------------------------
	Buttons
-------------------------------------------------------- */
.btn1,
.btn {
   color: #FFF;
   display: inline-block;
   position: relative;
   text-align: center;
   text-decoration: none;
   vertical-align: baseline;
   white-space: nowrap;
   cursor: pointer;
   outline: none;
   border-radius: 3px;

   &:hover {
      text-decoration: none;
   }
}

.gitBtn,
.penBtn {
  height: 38px;
  font-size: 1.1em;
  line-height: 38px;
  margin-right: 10px;
  padding: 0px 22px;
  border: 1px solid #FFA500;
  background-color: #FFA500;
  box-shadow: 0px 2px rgba(0, 0, 0, 0.157);

  &:last-child { margin-right: 0; }
}

.btn {
  height: 30px;
  font-size: 12px;
  font-weight: bold;
  line-height: 30px;
  padding: 0px 14px;

  &.btn-primary {
    border: 1px solid #FFA500;
    background-color: #FFA500;

    &:hover {
      border: 1px solid darken(#FFA500, 3%);
      background-color: darken(#FFA500, 3%);
    }
  }
}

/* -----------------------------------------------------
	CSS Progress Bars
-------------------------------------------------------- */
.cssProgress {
  width: 100%;
  margin-bottom: 20px;

  .progress1,
  .progress2,
  .progress3 {
    position: relative;
    overflow: hidden;
    width: 100%;
    font-family: "Roboto", sans-serif;
  }

  .cssProgress-bar {
    display: block;
    float: left;
    width: 0%;
    height: 100%;
    background: $bar-default-bg;
    box-shadow: inset 0px -1px 2px rgba(0, 0, 0, 0.1);
    transition: width 0.8s ease-in-out;
  }

  .cssProgress-label {
    position: absolute;
    overflow: hidden;
    left: 0px;
    right: 0px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.7em;
    text-align: center;
    text-shadow: 0px 1px rgba(0, 0, 0, 0.3);
  }

  .cssProgress-info { background-color: $bar-info-bg !important; }
  .cssProgress-danger { background-color: $bar-danger-bg !important; }
  .cssProgress-success { background-color: $bar-success-bg !important; }
  .cssProgress-warning { background-color: $bar-warning-bg !important; }

  .cssProgress-right { float: right !important; }

  .cssProgress-label-left {
    margin-left: 10px;
    text-align: left !important;
  }

  .cssProgress-label-right {
    margin-right: 10px;
    text-align: right !important;
  }

  .cssProgress-label2 {
    display: block;
    margin: 2px 0;
    padding: 0 8px;
    font-size: 0.8em;

    &.cssProgress-label2-right { text-align: right; }
    &.cssProgress-label2-center { text-align: center; }
  }

  .cssProgress-stripes,
  .cssProgress-active,
  .cssProgress-active-right {
    background-image: linear-gradient(
      -45deg,
      rgba(255, 255, 255, .125) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, .125) 50%,
      rgba(255, 255, 255, .125) 75%,
      transparent 75%,
      transparent
    );
    background-size: 35px 35px;
  }

  .cssProgress-active {
    @include animation('cssProgressActive 2s linear infinite');
  }

  .cssProgress-active-right {
    @include animation('cssProgressActiveRight 2s linear infinite');
  }

  @include keyframes('cssProgressActive') {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 35px 35px;
    }
  }

  @include keyframes('cssProgressActiveRight') {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: -35px -35px;
    }
  }
}

/* -----------------------------------------------------
	Progress Bar 1
-------------------------------------------------------- */
.progress1 {
  background-color: $pg-default-bg;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);

  .cssProgress-bar {
    height: 18px;
  }

  .cssProgress-label {
    line-height: 18px;
  }
}

/* -----------------------------------------------------
	Progress Bar 2
-------------------------------------------------------- */
.progress2 {
  background-color: $pg-default-bg;
  border-radius: 9px;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);

  .cssProgress-bar {
    height: 18px;
    border-radius: 9px;
  }

  .cssProgress-label {
    line-height: 18px;
  }
}

/* -----------------------------------------------------
	Progress Bar 3
-------------------------------------------------------- */
.progress3 {
  width: auto !important;
  padding: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 3px;

  .cssProgress-bar {
    height: 16px;
    border-radius: 3px;
  }

  .cssProgress-label {
    line-height: 16px;
  }
}

/* -----------------------------------------------------
	Progress Bar 4
-------------------------------------------------------- */
.progress4 {
  position: relative;
  width: 100%;
  background-color: $pg-default-bg;

  &.cssProgress-bg { background-color: #bbdefb !important; }
  &.cssProgress-bg-info { background-color: #d1c4e9 !important; }
  &.cssProgress-bg-danger { background-color: #ffcdd2 !important; }
  &.cssProgress-bg-success { background-color: #c8e6c9 !important; }
  &.cssProgress-bg-warning { background-color: #ffecb3 !important; }

  .cssProgress-bar {
    display: block;
    float: none;
    width: 0%;
    height: 4px;
    background: $bar-default-bg;

    &.cssProgress-lg { height: 6px; }
    &.cssProgress-2x { height: 8px; }
    &.cssProgress-3x { height: 10px; }
    &.cssProgress-4x { height: 12px; }
    &.cssProgress-5x { height: 14px; }

    &.cssProgress-glow {
      box-shadow: 5px 0px 15px 0px #3798D9;

      &.cssProgress-info { box-shadow: 5px 0px 15px 0px $bar-info-bg; }
      &.cssProgress-danger { box-shadow: 5px 0px 15px 0px $bar-danger-bg; }
      &.cssProgress-success { box-shadow: 5px 0px 15px 0px $bar-success-bg; }
      &.cssProgress-warning { box-shadow: 5px 0px 15px 0px $bar-warning-bg; }
    }

    &.cssProgress-glow-active {
      @include animation('cssProgressGlowActive1 3s linear infinite');

      &.cssProgress-info { @include animation('cssProgressGlowActive2 3s linear infinite'); }
      &.cssProgress-danger { @include animation('cssProgressGlowActive3 3s linear infinite'); }
      &.cssProgress-success { @include animation('cssProgressGlowActive4 3s linear infinite'); }
      &.cssProgress-warning { @include animation('cssProgressGlowActive5 3s linear infinite'); }
    }
  }

  @include cssProgressGlowActive('cssProgressGlowActive1', '#3798D9');
  @include cssProgressGlowActive('cssProgressGlowActive2', $bar-info-bg);
  @include cssProgressGlowActive('cssProgressGlowActive3', $bar-danger-bg);
  @include cssProgressGlowActive('cssProgressGlowActive4', $bar-success-bg);
  @include cssProgressGlowActive('cssProgressGlowActive5', $bar-warning-bg);
}
              
            
!

JS

              
                $(document).ready(function() {

  $('#example-1').progress_fnc();
  $('#example-2').progress_fnc();
  $('#example-3').progress_fnc();
  $('#example-4').progress_fnc();
  $('#example-5').progress_fnc();
  $('#example-6').progress_fnc();
  $('#example-7').progress_fnc();
  $('#example-8').progress_fnc();
  $('#example-9').progress_fnc();
  $('#example-10').progress_fnc();
  $('#example-11').progress_fnc();
  $('#example-12').progress_fnc();
  $('#example-13').progress_fnc();

  $('.progressStart').on('click', function() {
    var perent = $(this).closest("div").attr("id");
    $('#' + perent).progress_fnc({ type: 'start' });
  });

  $('.progressReset').on('click', function() {
    var perent = $(this).closest("div").attr("id");
    $('#' + perent).progress_fnc({ type: 'reset' });
  });

});


(function($) {

  $.fn.progress_fnc = function(options) {
    var settings = $.extend({
      type: 'start'
    }, options);

    var div = $(this);
    var progress = div.find('.cssProgress');

    progress.each(function() {
      var self = $(this);
      var progress_bar = self.find('.cssProgress-bar');
      var progress_label = self.find('.cssProgress-label, .cssProgress-label2');
      var progress_value = progress_bar.data('percent');
      var percentage = parseInt(progress_value, 10) + '%';

      progress_bar.css({'width': '0%', 'transition': 'none', '-webkit-transition': 'none', '-moz-transition': 'none'});

      if(settings.type == 'start') {

        progress_bar.animate({
          width: percentage
        }, {
          duration: 1000,
          step: function(x) {
            progress_label.text(Math.round(x) + '%');
          }
        });

      } else if(settings.type == 'reset') {
        progress_bar.css('width', '0%');
        progress_label.text('0%');
      }

    });
  }

}(jQuery));
              
            
!
999px

Console