counter style : demo 188

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{
                        background: #fff;
                        font-family: 'Poppins', sans-serif;
                        text-align: center;
                        padding: 15px;
                        border: 15px solid #e7e7e7;
                        border-radius: 15px;
                    } 
                    .counter .counter-icon{
                        color: #fff;
                        background-color: #018580;
                        font-size: 35px;
                        line-height: 70px;
                        width: 70px;
                        height: 70px;
                        margin: 0 auto 15px;
                        border-radius: 50%;
                    }
                    .counter .counter-value{
                        color: #222;
                        font-size: 35px;
                        font-weight: 300;
                        margin: 0 0 17px;
                        display: block;
                    }
                    .counter h3{
                        color: #fff;
                        background-color: #018580;
                        font-size: 14px;
                        font-weight: 600;
                        letter-spacing: 0.5px;
                        text-transform: capitalize;
                        padding: 8px 5px;
                        margin: 0;
                        border-radius: 15px;
                    }
                    .counter.red .counter-icon,
                    .counter.red h3{
                        background-color: #FA615C;
                    }
                    .counter.purple .counter-icon,
                    .counter.purple h3{
                        background-color: #885E6B;
                    }
                    .counter.orange .counter-icon,
                    .counter.orange h3{
                        background-color: #FF8345;
                    }
                    @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