HTML5 - 50%
CSS3 - 75%
.progress-title{ font-size: 18px; font-weight: 700; color: #333; margin: 0 0 20px; } .progress{ height: 20px; background: #d4d7e6; border-radius: 30px; box-shadow: none; margin-bottom: 30px; overflow: visible; } .progress .progress-bar{ border-radius: 30px; box-shadow: none; position: relative; animation: animate-positive 2s; } .progress .progress-bar:before{ content: ""; width: 100%; height: 50%; background: rgba(0,0,0,0.3); border-radius: 0 0 10px 10px; position: absolute; bottom: 0; left: 0; z-index: 2; } .progress .progress-bar:after{ content: ""; width: 38px; height: 38px; border-radius: 50%; background: #cbcbcb; border: 8px solid #000; position: absolute; bottom: -8px; right: 0; z-index: 1; } @keyframes animate-positive{ 0%{ width: 0; } }
$(document).ready(function(){ $('.progress-title > span').each(function(){ $(this).prop('Counter',0).animate({ Counter: $(this).text() },{ duration: 1500, easing: 'swing', step: function (now){ $(this).text(Math.ceil(now)); } }); }); });