"Skills Counter with Shadow Effect"
Bootstrap 3.3.0 Snippet by benhanna99

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="skill5"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12"> <div class="skill5-counter"> <p class="counter-count">100</p> <p class="counter-bottom">HTML5</p> </div> </div> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12"> <div class="skill5-counter"> <p class="counter-count">80</p> <p class="counter-bottom">CSS3</p> </div> </div> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12"> <div class="skill5-counter"> <p class="counter-count">70</p> <p class="counter-bottom">JS</p> </div> </div> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12"> <div class="skill5-counter"> <p class="counter-count">52</p> <p class="counter-bottom">PHP</p> </div> </div> </div> </div> </div>
.skill5 { padding-top: 50px; padding-bottom: 50px; background-color: #fff; text-align: center; } .skill5 .counter-count { -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1); -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1); box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1); font-size: 40px; background-color: #1583c9; border-radius: 50%; position: relative; color: #ffffff; text-align: center; line-height: 172px; width: 192px; height: 192px; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; display: inline-block; text-shadow: rgb(13, 115, 188) 1px 1px, rgb(13, 115, 188) 2px 2px, rgb(13, 115, 188) 3px 3px, rgb(13, 115, 188) 4px 4px, rgb(13, 115, 188) 5px 5px, rgb(13, 115, 188) 6px 6px, rgb(13, 115, 188) 7px 7px, rgb(13, 115, 188) 8px 8px, rgb(13, 115, 188) 9px 9px, rgb(13, 115, 188) 10px 10px, rgb(13, 115, 188) 11px 11px, rgb(13, 115, 188) 12px 12px, rgb(13, 116, 189) 13px 13px, rgb(13, 116, 189) 14px 14px, rgb(13, 116, 189) 15px 15px, rgb(13, 116, 189) 16px 16px, rgb(13, 117, 191) 17px 17px, rgb(13, 117, 191) 18px 18px, rgb(13, 117, 191) 19px 19px, rgb(13, 118, 192) 20px 20px, rgb(13, 118, 192) 21px 21px, rgb(14, 119, 194) 21px 21px, rgb(14, 120, 196) 22px 22px, rgb(14, 121, 197) 23px 23px, rgb(14, 122, 199) 24px 24px, rgb(14, 123, 201) 25px 25px, rgb(14, 124, 203) 26px 26px, rgb(14, 125, 204) 27px 27px, rgb(14, 126, 206) 28px 28px, rgb(15, 127, 208) 29px 29px, rgb(15, 128, 209) 30px 30px; } .skill5 .counter-count .counter-percent { font-size: 40px; color: #ffffff; margin-left: 1px; text-shadow: rgb(13, 115, 188) 1px 1px, rgb(13, 115, 188) 2px 2px, rgb(13, 115, 188) 3px 3px, rgb(13, 115, 188) 4px 4px, rgb(13, 115, 188) 5px 5px, rgb(13, 115, 188) 6px 6px, rgb(13, 115, 188) 7px 7px, rgb(13, 115, 188) 8px 8px, rgb(13, 115, 188) 9px 9px, rgb(13, 115, 188) 10px 10px, rgb(13, 115, 188) 11px 11px, rgb(13, 115, 188) 12px 12px, rgb(13, 116, 189) 13px 13px, rgb(13, 116, 189) 14px 14px, rgb(13, 116, 189) 15px 15px, rgb(13, 116, 189) 16px 16px, rgb(13, 117, 191) 17px 17px, rgb(13, 117, 191) 18px 18px, rgb(13, 117, 191) 19px 19px, rgb(13, 118, 192) 20px 20px, rgb(13, 118, 192) 21px 21px, rgb(14, 119, 194) 21px 21px, rgb(14, 120, 196) 22px 22px, rgb(14, 121, 197) 23px 23px, rgb(14, 122, 199) 24px 24px, rgb(14, 123, 201) 25px 25px, rgb(14, 124, 203) 26px 26px, rgb(14, 125, 204) 27px 27px, rgb(14, 126, 206) 28px 28px, rgb(15, 127, 208) 29px 29px, rgb(15, 128, 209) 30px 30px; } .skill5 .counter-bottom { font-size: 24px; font-weight: 400; color: #000000; line-height: 34px; }
/*skills5 */ $('.counter-count').each(function(){$(this).prop('Counter',0).animate({Counter:$(this).text()},{duration:2000,easing:'swing',step:function(now){$(this).text(Math.ceil(now))}})})

Related: See More


Questions / Comments:

Very beautiful. But I can't get it to count in my project. I don't know what I'm doing wrong.

Nerdy-Nax () - 2 months ago - Reply 0


Nice one, thanks a lot

eXP Design (1) - 2 years ago - Reply 0