counter style : demo 138

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: Montserrat.)
                        .counter{
                            font-family: 'Montserrat', sans-serif;
                            text-align: center;
                            padding: 0 10px;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background: linear-gradient(to right, #65787F 50%, #3e4a4f 50%);
                            font-size: 38px;
                            line-height: 88px;
                            height: 100px;
                            width: 120px;
                            margin: 0 auto 5px;
                            clip-path: polygon(0 0, 50% 12%, 100% 0, 50% 100%);
                        }
                        .counter .counter-value{
                            color: #3e4a4f;
                            font-size: 28px;
                            font-weight: 700;
                            display: block;
                        }
                        .counter h3{
                            color: #65787F;
                            font-size: 16px;
                            font-weight: 600;
                            text-transform: capitalize;
                            margin: 0;
                        }
                        .counter.green .counter-icon{ background: linear-gradient(to right, #00BCAE 50%, #03998c 50%); }
                        .counter.green .counter-value{ color: #03998c; }
                        .counter.green h3{ color: #00BCAE; }
                        .counter.orange .counter-icon{ background: linear-gradient(to right, #F17102 50%, #d36002 50%); }
                        .counter.orange .counter-value{ color: #d36002; }
                        .counter.orange h3{ color: #F17102; }
                        .counter.purple .counter-icon{ background: linear-gradient(to right, #9E2C67 50%, #77204d 50%); }
                        .counter.purple .counter-value{ color: #77204d; }
                        .counter.purple h3{ color: #9E2C67; }
                        @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