counter style : demo 187

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: #269390;
                        background: #fff;
                        font-family: 'Poppins', sans-serif;
                        font-size: 0;
                        text-align: center;
                        width: 210px;
                        margin: 0 auto;
                        border-bottom: 15px solid #269390;
                        box-shadow: 0 0 8px rgba(0,0,0,0.1);
                    } 
                    .counter .counter-icon{
                        font-size: 40px;
                        line-height: 105px;
                        width: 105px;
                        height: 105px;
                        display: inline-block;
                    }
                    .counter .counter-value{
                        color: #fff;
                        background: linear-gradient(to top left,#269390 49%,#46AEAF 50%);
                        font-size: 35px;
                        font-weight: 300;
                        line-height: 105px;
                        width: 105px;
                        height: 105px;
                        margin: 0 0 20px;
                        text-shadow: 0 0 5px rgba(0,0,0,0.25);
                        vertical-align: top;
                        display: inline-block;
                    }
                    .counter h3{
                        font-size: 18px;
                        font-weight: 600;
                        letter-spacing: 0.5px;
                        text-transform: capitalize;
                        margin: 0 0 20px;
                    }
                    .counter.pink{
                        color: #e23a58;
                        border-color: #ca3258;
                    }
                    .counter.pink .counter-value{ background: linear-gradient(to top left,#cc3254 49%,#e23a59 50%); }
                    .counter.yellow{
                        color: #f6af23;
                        border-color: #f2b317;
                    }
                    .counter.yellow .counter-value{ background: linear-gradient(to top left,#f2b218 49%,#fcc82c 50%); }
                    .counter.blue{
                        color: #39506a;
                        border-color: #3c506b;
                    }
                    .counter.blue .counter-value{ background: linear-gradient(to top left,#2f4154 49%,#3c506b 50%); }
                    @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