counter style : demo 173

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;
                        background: linear-gradient(#F3652F,#ED4D36);
                        font-family: 'Poppins', sans-serif;
                        text-align: center;
                        width: 210px;
                        padding: 0 0 30px;
                        margin: 0 auto;
                        border-radius: 10px;
                        box-shadow: 0 0 10px rgba(0,0,0,0.2);
                        position: relative;
                        z-index: 1;
                    }
                    .counter .counter-value{
                        color: #F3652F;
                        background: rgba(255,255,255,0.9);
                        font-size: 30px;
                        font-weight: 600;
                        padding: 10px 10px 7px;
                        margin: 0 0 30px;
                        border-radius: 10px 10px 0 0;
                        display: block;
                    }
                    .counter h3{
                        font-size: 18px;
                        font-weight: 500;
                        letter-spacing: 1px;
                        text-transform: uppercase;
                        margin: 0;
                    }
                    .counter.purple{ background: linear-gradient(#87358A,#443273); }
                    .counter.purple .counter-value{ color: #87358A; }
                    .counter.pink{ background: linear-gradient(#E45490,#D2276A); }
                    .counter.pink .counter-value{ color: #E45490; }
                    .counter.blue{ background: linear-gradient(#408FCA,#404E9F); }
                    .counter.blue .counter-value{ color: #408FCA; }
                    @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