counter style : demo 186

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: #555;
                        background-color: #FE9610;
                        font-family: 'Poppins', sans-serif;
                        text-align: center;
                        padding: 20px 25px 30px;
                        border-radius: 25px;
                        position: relative;
                        z-index: 1;
                    } 
                    .counter:before{
                        content: '';
                        background-color: #fff;
                        border-radius: 100px/40px;
                        box-shadow: 0 0 10px rgba(0,0,0,0.3);
                        position: absolute;
                        left: 20px;
                        right: 20px;
                        top: 0;
                        bottom: 0;
                        z-index: -1;
                    }
                    .counter .counter-icon{
                        font-size: 25px;
                        margin: 0 0 5px;
                    }
                    .counter .counter-value{
                        font-size: 30px;
                        font-weight: 400;
                        margin: 0 0 10px;
                        display: block;
                    }
                    .counter h3{
                        font-size: 17px;
                        font-weight: 400;
                        text-transform: capitalize;
                        margin: 0;
                    }
                    .counter.green{ background-color: #5EB15E; }
                    .counter.blue{ background-color: #0A8AFA; }
                    .counter.darkblue{ background-color: #0A6880; }
                    @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