counter style : demo 157

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{
                        font-family: 'Poppins', sans-serif;
                        text-align: center;
                    }
                    .counter .counter-icon{
                        color: #fff;
                        background-color: #A911A4;
                        font-size: 40px;
                        line-height: 68px;
                        width: 100px;
                        height: 70px;
                        margin: 0 auto 45px;
                        border-radius: 50%;
                        box-shadow: 0 10px #EDD7AC,0 20px #EDD7AC,0 30px #EDD7AC;
                    }
                    .counter .counter-icon i{ transform: rotateZ(-25deg) skew(20deg); }
                    .counter .counter-value{
                        color: #A911A4;
                        font-size: 30px;
                        line-height: 30px;
                        font-weight: 700;
                        margin: 0 0 7px;
                        display: block;
                    }
                    .counter h3{
                        color: #444;
                        font-size: 14px;
                        font-weight: 500;
                        text-transform: capitalize;
                        margin: 0;
                    }
                    .counter.yellow .counter-icon{ background-color: #e88700; }
                    .counter.yellow .counter-value{ color: #e88700; }
                    .counter.red .counter-icon{ background-color: #F94552; }
                    .counter.red .counter-value{ color: #F94552; }
                    .counter.blue .counter-icon{ background-color: #00AEC3; }
                    .counter.blue .counter-value{ color: #00AEC3; }
                    @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