Examples of various animated CSS3 progress bars.
Created
May 4, 2023 22:52
-
-
Save landsurveyorsunited/da168495cffc3ec3c03bd1734777ad9a to your computer and use it in GitHub Desktop.
CSS Progress bars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="progress aqua" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress copper" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress candy" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress neon" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress shine" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress zigzag" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress diamond" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress hearts" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress sparkle" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<div class="progress test" data-width="0%"> | |
<div class="progress-text">0%</div> | |
<div class="progress-bar"> | |
<div class="progress-text">0%</div> | |
</div> | |
</div> | |
<br><br> | |
<input id="slider" type="range" name="slider" min="0" max="100" value="0"> | |
<button class="test" data-val="0%">0%</button> | |
<button class="test" data-val="10%">10%</button> | |
<button class="test" data-val="40%">40%</button> | |
<button class="test" data-val="50%">50%</button> | |
<button class="test" data-val="60%">60%</button> | |
<button class="test" data-val="100%">100%</button> | |
<h2>Like it? - Check out my other <a href="https://codepen.io/pmk/popular/">Pens</a></h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery( document ).ready(function( $ ) { | |
$('.test').on('click',function(e) { | |
$('.progress-bar').css('width',$(this).data('val')); | |
//$('.progress-text').text($(this).data('val')); | |
}); | |
$('#slider').on('input',function(e) { | |
$('.progress-bar').css('width',e.target.value+'%'); | |
}); | |
// create an observer instance | |
var observer = new MutationObserver(function(mutations) { | |
mutations.forEach(function(mutation) { | |
if (mutation.type == 'attributes' && mutation.attributeName == 'style') { | |
var el = mutation.target; | |
var width = el.style.width; // Can't use jQuery here, as we need the value back in percent | |
var $parentEl =$(el).parent('.progress'); | |
$parentEl.attr('data-width',width); // Why doesn't this work?? $parentEl.data('width',width) | |
$parentEl.find('.progress-text').text(width); | |
} | |
}); | |
}); | |
// configuration of the observer | |
var config = { | |
attributes: true, | |
attributeFilter: ['style'], | |
childList: false, | |
characterData: false | |
}; | |
$('.progress-bar').each(function(e) { | |
// pass in the target node, as well as the observer options | |
observer.observe(this, config); | |
}) | |
$('.test').eq(4).trigger('click'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.progress { | |
position: relative; | |
z-index: 5; | |
background:#484848; | |
border:10px solid #282828; | |
border-radius: 20px; | |
display: inline-block; | |
box-shadow: 0 5px 17px rgba(40, 40, 40, 0.5),0 0 3px 1px rgba(40, 40, 40, 0.5) inset; | |
} | |
.progress-text { | |
position: absolute; | |
font: bold 14px/20px Arial; | |
text-align: center; | |
top: 0; | |
left: 0; | |
} | |
.progress, .progress-bar, .progress-text { | |
width: 200px; | |
max-width: 200px; | |
height: 20px; | |
} | |
.progress .progress-text:first-child { | |
z-index: 5; | |
color: white; | |
} | |
.progress .progress-text:last-child { | |
z-index: 10; | |
color: black; | |
} | |
.progress-bar { | |
overflow: hidden; | |
position: relative; | |
z-index: 10; | |
border-radius: 12px; | |
width: 0; | |
-moz-transition: width .2s linear; | |
-webkit-transition: width .2s linear; | |
-o-transition: width .2s linear; | |
transition: width .2s linear; | |
} | |
/* Test Style */ | |
.progress.test .progress-bar { | |
background-color: #00baba; | |
background-image: -moz-linear-gradient(left, #d1fffb 0%, #00baba 100%); | |
background-image: -webkit-linear-gradient(left, #d1fffb 0%,#00baba 100%); | |
background-image: -o-linear-gradient(left, #d1fffb 0%,#00baba 100%); | |
background-image: -ms-linear-gradient(left, #d1fffb 0%,#00baba 100%); | |
background-image: linear-gradient(to right, #d1fffb 0%,#00baba 100%); | |
background-size: 200px 20px; | |
overflow: visible; | |
} | |
.progress.test .progress-text:first-child { | |
display:none; | |
} | |
.progress.test .progress-text:last-child { | |
left: auto; | |
top:auto; | |
bottom: -26px; | |
right: -12px; | |
display: block; | |
background-color: #00baba; | |
width: 40px; | |
height: 20px; | |
border-radius: 3px; | |
} | |
.test[data-width='0%'] .progress-text:last-child { | |
display: none; | |
} | |
.progress.test .progress-text:last-child:before { | |
position: absolute; | |
left: 12px; | |
top: -6px; | |
content: ''; | |
width: 0; | |
height: 0; | |
border-style: solid; | |
border-width: 0 6px 6px 6px; | |
border-color: transparent transparent #00baba transparent; | |
} | |
/* Copper style */ | |
.progress.copper .progress-bar { | |
background-color: #b68d4c; | |
background-image: -moz-linear-gradient(top, #f3e2c7 0%, #b68d4c 51%, #e9d4b3 100%); | |
background-image: -webkit-linear-gradient(top, #f3e2c7 0%,#b68d4c 51%,#e9d4b3 100%); | |
background-image: -ms-linear-gradient(top, #f3e2c7 0%,#b68d4c 51%,#e9d4b3 100%); | |
background-image: linear-gradient(to bottom, #f3e2c7 0%,#b68d4c 51%,#e9d4b3 100%); | |
box-shadow: inset 2px 2px 3px 0 rgba(255, 255, 255, 0.75), inset -3px 0 3px 0 rgba(255, 255, 255, 0.75); | |
} | |
/* Aqua Style */ | |
.progress.aqua .progress-bar { | |
background-color: #00baba; | |
background-image: -moz-linear-gradient(left, #d1fffb 0%, #00baba 100%); | |
background-image: -webkit-linear-gradient(left, #d1fffb 0%,#00baba 100%); | |
background-image: -o-linear-gradient(left, #d1fffb 0%,#00baba 100%); | |
background-image: -ms-linear-gradient(left, #d1fffb 0%,#00baba 100%); | |
background-image: linear-gradient(to right, #d1fffb 0%,#00baba 100%); | |
background-size: 200px 20px; | |
} | |
/* Candystripe style */ | |
.progress.candy .progress-bar { | |
background-color: #d00; | |
box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.3) inset; | |
background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 25%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0)); | |
background-repeat: repeat-x; | |
background-size: 20px 20px; | |
-webkit-animation: candystripe 1s linear infinite; | |
-moz-animation: candystripe 1s linear infinite; | |
animation: candystripe 1s linear infinite; | |
} | |
@-webkit-keyframes candystripe { | |
to {background-position: 20px 0;} | |
} | |
@-moz-keyframes candystripe { | |
to {background-position: 20px 0;} | |
} | |
@keyframes candystripe { | |
to {background-position: 20px 0;} | |
} | |
/* Pulsating Neon style */ | |
.progress.neon .progress-bar { | |
background-color: #fff; | |
box-shadow: 0 0 5px #01fe32 inset, 0 0 16px #08ff35, 0 0 20px #08ff35, 0 0 15px #08ff35; | |
-webkit-animation: pulse 2s linear infinite; | |
-moz-animation: pulse 2s linear infinite; | |
animation: pulse 2s linear infinite; | |
} | |
@-webkit-keyframes pulse { | |
50% {box-shadow: 0 0 5px #01fe32 inset, 0 0 10px #08ff35, 0 0 10px #08ff35, 0 0 10px #08ff35;} | |
} | |
@-moz-keyframes pulse { | |
50% {box-shadow: 0 0 5px #01fe32 inset, 0 0 10px #08ff35, 0 0 10px #08ff35, 0 0 10px #08ff35;} | |
} | |
@keyframes pulse { | |
50% {box-shadow: 0 0 5px #01fe32 inset, 0 0 10px #08ff35, 0 0 10px #08ff35, 0 0 10px #08ff35;} | |
} | |
/* Shine style */ | |
.progress.shine .progress-bar { | |
background-color: #00BA0C; | |
background-image: -moz-linear-gradient(left, #00BA0C 0%, #00BA0C 75%, #D7FFD1 80%, #00BA0C 85%, #00BA0C 100%); | |
background-image: -webkit-linear-gradient(left, #00BA0C 0%,#00BA0C 75%,#D7FFD1 80%,#00BA0C 85%,#00BA0C 100%); | |
background-image: -o-linear-gradient(left, #00BA0C 0%,#00BA0C 75%,#D7FFD1 80%,#00BA0C 85%,#00BA0C 100%); | |
background-image: -ms-linear-gradient(left, #00BA0C 0%,#00BA0C 75%,#D7FFD1 80%,#00BA0C 85%,#00BA0C 100%); | |
background-image: linear-gradient(to right, #00BA0C 0%,#00BA0C 75%,#D7FFD1 80%,#00BA0C 85%,#00BA0C 100%); | |
background-size: 800px 20px; | |
box-shadow: inset 0 -2px 2px rgba(0,0,0,0.5), inset 0 2px 2px rgba(255,255,255,0.8); | |
-webkit-animation: shine 2s linear infinite; | |
-moz-animation: shine 2s linear infinite; | |
animation: shine 2s linear infinite; | |
} | |
@-webkit-keyframes shine { | |
to {background-position: 800px 0;} | |
} | |
@-moz-keyframes shine { | |
to {background-position: 800px 0;} | |
} | |
@keyframes shine { | |
to {background-position: 800px 0;} | |
} | |
/* Zigzag style */ | |
.progress.zigzag .progress-bar { | |
background-color: #EFE743; | |
background-image: -moz-linear-gradient(135deg, #EA0000 25%, rgba(234,0,0,0) 25%), -moz-linear-gradient(225deg, #EA0000 25%, rgba(234,0,0,0) 25%), -moz-linear-gradient(315deg, #EA0000 25%, rgba(234,0,0,0) 25%), -moz-linear-gradient(45deg, #EA0000 25%, rgba(234,0,0,0) 25%); | |
background-image: -webkit-linear-gradient(135deg, #EA0000 25%, rgba(234,0,0,0) 25%), -webkit-linear-gradient(225deg, #EA0000 25%, rgba(234,0,0,0) 25%), -webkit-linear-gradient(315deg, #EA0000 25%, rgba(234,0,0,0) 25%), -webkit-linear-gradient(45deg, #EA0000 25%, rgba(234,0,0,0) 25%); | |
background-image: -o-linear-gradient(135deg, #EA0000 25%, rgba(234,0,0,0) 25%), -o-linear-gradient(225deg, #EA0000 25%, rgba(234,0,0,0) 25%), -o-linear-gradient(315deg, #EA0000 25%, rgba(234,0,0,0) 25%), -o-linear-gradient(45deg, #EA0000 25%, rgba(234,0,0,0) 25%); | |
background-image: -ms-linear-gradient(135deg, #EA0000 25%, rgba(234,0,0,0) 25%), -ms-linear-gradient(225deg, #EA0000 25%, rgba(234,0,0,0) 25%), -ms-linear-gradient(315deg, #EA0000 25%, rgba(234,0,0,0) 25%), -ms-linear-gradient(45deg, #EA0000 25%, rgba(234,0,0,0) 25%); | |
background-image: linear-gradient(135deg, #EA0000 25%, rgba(234,0,0,0) 25%), linear-gradient(225deg, #EA0000 25%, rgba(234,0,0,0) 25%), linear-gradient(315deg, #EA0000 25%, rgba(234,0,0,0) 25%), linear-gradient(45deg, #EA0000 25%, rgba(234,0,0,0) 25%); | |
background-position: -10px 0, -10px 0, 0 0, 0 0; | |
background-size: 20px 20px; | |
-webkit-animation: zigzagmove .5s linear infinite; | |
-moz-animation: zigzagmove .5s linear infinite; | |
animation: zigzagmove .5s linear infinite; | |
} | |
@-webkit-keyframes zigzagmove { | |
to {background-position: 10px 0, 10px 0, 20px 0, 20px 0;} | |
} | |
@-moz-keyframes zigzagmove { | |
to {background-position: 10px 0, 10px 0, 20px 0, 20px 0;} | |
} | |
@keyframes zigzagmove { | |
to {background-position: 10px 0, 10px 0, 20px 0, 20px 0;} | |
} | |
/* Diamond style */ | |
.progress.diamond .progress-bar { | |
background-color: #eee; | |
background-image: -moz-linear-gradient(45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)), -moz-linear-gradient(-45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)); | |
background-image: -webkit-linear-gradient(45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)), -webkit-linear-gradient(-45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)); | |
background-image: -o-linear-gradient(45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)), -o-linear-gradient(-45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)); | |
background-image: -ms-linear-gradient(45deg, rgb(255,0,0) 25%, rgba(255,255,255,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)), -ms-linear-gradient(-45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)); | |
background-image: linear-gradient(45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)), linear-gradient(-45deg, rgb(255,0,0) 25%, rgba(255,0,0,0) 25%, rgba(255,0,0,0) 75%, rgb(255,0,0) 75%, rgb(255,0,0)); | |
background-size:10px 10px; | |
-webkit-animation: move 1.2s linear alternate infinite; | |
-moz-animation: move 1.2s linear alternate infinite; | |
animation: move 1.2s linear alternate infinite; | |
} | |
@-webkit-keyframes move { | |
to {background-position: 5px -10px;background-size:20px 20px;} | |
} | |
@-moz-keyframes move { | |
to {background-position: 5px -10px;background-size:20px 20px;} | |
} | |
@keyframes move { | |
to {background-position: 5px -10px;background-size:20px 20px;} | |
} | |
.progress.sparkle .progress-bar { | |
background-color: #F7A806; | |
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABACAMAAADMI7KPAAACZFBMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////xG13JAAAAzHRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJytLua8SRAAASK0lEQVR42nXWWZMb12H28edsvQJoAINlMMPZOCQlioso0rKlmPYb+XXKvnAlvslNrvIBkg+Rz5CkKpU9lcSViiuJs5Ys2XKsxZJC2+K+zMLZBxgM1qXR6zknNYOhSMrM7wrVhcIfDwp9qsnl/58nB993NgGQbJn0Wqw61arjGVPM/PpFQ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V1aeJLTiTZANEkpt2X3brMionhNL+dztDNY+gXSwc8Hvd6uY7RpL7HH/8PHzrVzrjdVlLL6ZX0nePdsA89JG0gII1SYWZfd74PZo8ipFRhOqF4lqynZ71tc7e+EIxb/Yn/QL6Kz1fcfh0kaNrqdxCfMWMzRTHl+xn3TALd123OJWqmrVojnKQVoooOMxbUlYhUXg+I5i+HzecksNu+9lxg4ONxHtLaxBdVayQR99dlOpDlXKaALtUy2cjpvl4oiZxCEmw99h/xgFy+mxgPmcFBGWOp95ysfRVmOJ5K7PkKzFq4acSQSjQEA0v2wWop3zEinVEBLZBkGOREUXGIezhOVNh68ZrLZbfxfdJDhR1P6ianXkvv3GZ7qBdmyk+PJEK4IcISysL21EVVzfa0g49SpUAKzImzO6TDBaPt7ampq+3b38qlhjBfjBgP8UI1ubwDgeMqolLiVC4wk4SL0AUBBCq2DdQAqpEQbmmplGtIvCPKPngoT9H98bzV87Tt8cPtdvIik08mO6qewQnwhpy2GJOwJzT+/riKNABP2AuvplBjxIQ9Ftt89wJGBOet+I28U5jbW8AKlS1Pp6JGGefrCjb0E/wtYT0+oEQxnLAAAAABJRU5ErkJggg=='); | |
box-shadow: inset 0 -2px 2px rgba(0,0,0,0.5), inset 0 2px 2px rgba(255,255,255,0.8); | |
-webkit-animation: sparkle 1500ms linear infinite; | |
-moz-animation: sparkle 1500ms linear infinite; | |
-o-animation: sparkle 1500ms linear infinite; | |
animation: sparkle 1500ms linear infinite; | |
} | |
@-webkit-keyframes sparkle { | |
from {background-position: 0 0;} | |
to {background-position: 0 -64px;} | |
} | |
@-moz-keyframes sparkle { | |
from {background-position: 0 0;} | |
to {background-position: 0 -64px;} | |
} | |
@-o-keyframes sparkle { | |
from {background-position: 0 0;} | |
to {background-position: 0 -64px;} | |
} | |
@keyframes sparkle { | |
from {background-position: 0 0;} | |
to {background-position: 0 -64px;} | |
} | |
.progress.hearts .progress-bar { | |
background-image: radial-gradient(circle closest-side at 60% 43%, #b03 26%, rgba(187,0,51,0) 27%), | |
radial-gradient(circle closest-side at 40% 43%, #b03 26%, rgba(187,0,51,0) 27%), | |
radial-gradient(circle closest-side at 40% 22%, #d35 45%, rgba(221,51,85,0) 46%), | |
radial-gradient(circle closest-side at 60% 22%, #d35 45%, rgba(221,51,85,0) 46%), | |
radial-gradient(circle closest-side at 50% 35%, #d35 30%, rgba(221,51,85,0) 31%), | |
radial-gradient(circle closest-side at 60% 43%, #b03 26%, rgba(187,0,51,0) 27%), | |
radial-gradient(circle closest-side at 40% 43%, #b03 26%, rgba(187,0,51,0) 27%), | |
radial-gradient(circle closest-side at 40% 22%, #d35 45%, rgba(221,51,85,0) 46%), | |
radial-gradient(circle closest-side at 60% 22%, #d35 45%, rgba(221,51,85,0) 46%), | |
radial-gradient(circle closest-side at 50% 35%, #d35 30%, rgba(221,51,85,0) 31%); | |
background-color: #b03; | |
background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 0 0; | |
background-size: 40px 40px; | |
-webkit-animation: heartmove 1.2s linear infinite; | |
-moz-animation: heartmove 1.2s linear infinite; | |
animation: heartmove 1.2s linear infinite; | |
} | |
@-webkit-keyframes heartmove { | |
to {background-position: 20px 0;} | |
} | |
@-moz-keyframes heartmove { | |
to {background-position: 20px 0;} | |
} | |
@keyframes heartmove { | |
to {background-position: 40px 0,40px 0,40px 0,40px 0,40px 20px,40px 20px,40px 20px,40px 20px,40px 20px,40px 0px;} | |
} | |
h2 { | |
text-align: center; | |
font-size: 18px; | |
font-family: Arial; | |
} | |
a { | |
color: #89310F; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment