counter style : demo 172

1963

Web Designing

1854

Web Development

1756

Brand Building

1823

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1963

Web Designing

1854

Web Development

CSS

(Fonts required: Poppins.)
                    .counter{
                        color: #fff;
                        font-family: 'Poppins', sans-serif;
                        text-align: center;
                        padding: 0 10px 20px;
                        position: relative;
                        z-index: 1;
                    }
                    .counter:before{
                        content: '';
                        background-color: #37acb8;
                        border-radius: 10px;
                        box-shadow: 10px 10px 0 rgba(0,0,0,0.2), -10px -10px 30px rgba(0,0,0,0.2) inset;
                        position: absolute;
                        left: 10px;
                        right: 10px;
                        top: 50px;
                        bottom: 0;
                        z-index: -1;
                    }
                    .counter .counter-value{
                        color: #fff;
                        background: #37acb8;
                        font-size: 30px;
                        font-weight: 600;
                        line-height: 105px;
                        width: 120px;
                        height: 120px;
                        margin: 0 auto 12px;
                        border-radius:  50%;
                        border: 8px solid #37acb8;
                        box-shadow: 0 0 0 8px #fff inset,5px 5px 0px rgba(0,0,0,0.2);
                        display: block;
                    }
                    .counter .counter-icon{
                        font-size: 35px;
                        margin: 0 0 7px;
                    }
                    .counter h3{
                        font-size: 17px;
                        font-weight: 500;
                        letter-spacing: 0.5px;
                        text-transform: capitalize;
                        margin: 0;
                    }
                    .counter.pink:before{ background-color: #fb364d; }
                    .counter.pink .counter-value{
                        background-color: #fb364d;
                        border-color: #fb364d;
                    }
                    .counter.orange:before{ background-color: #f06d28; }
                    .counter.orange .counter-value{
                        background-color: #f06d28;
                        border-color: #f06d28;
                    }
                    .counter.blue:before{ background-color: #162f5b; }
                    .counter.blue .counter-value{
                        background-color: #162f5b;
                        border-color: #162f5b;
                    }
                    @media screen and (max-width:990px){
                        .counter{ margin-bottom: 40px; }
                    }   
                    

JavaScript

(Counter depend on jQuery.)
                        

                        $(document).ready(function(){
                            $('.counter-value').each(function(){
                                $(this).prop('Counter',0).animate({
                                    Counter: $(this).text()
                                },{
                                    duration: 3500,
                                    easing: 'swing',
                                    step: function (now){
                                        $(this).text(Math.ceil(now));
                                    }
                                });
                            });
                        });
                    
License Terms