counter style : demo 170

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: #d83413;
                        font-family: 'Poppins', sans-serif;
                        text-align: center;
                    }
                    .counter .counter-value{
                        color: #fff;
                        background: #d83413;
                        font-size: 35px;
                        font-weight: 700;
                        line-height: 50px;
                        margin: 0 0 10px;
                        display: block;
                        clip-path: polygon(90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 0%);
                    }
                    .counter .counter-content{
                        padding: 5px 15px;
                        margin: 0 3px;
                        border-left: 2px solid #d83413;
                        position: relative;
                    }
                    .counter .counter-content:before,
                    .counter .counter-content:after{
                        content: "";
                        background:#d83413;
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        position: absolute;
                        top: 0px;
                        left: -4.7px;
                    }
                    .counter .counter-content:after{
                        top: auto;
                        bottom: 0;
                    }
                    .counter .counter-icon{
                        color: #999;
                        font-size: 35px;
                        margin: 0 0 5px;
                    }
                    .counter h3{
                        font-size: 20px;
                        font-weight: 800;
                        text-transform: capitalize;
                        margin: 0;
                    }
                    .counter.blue{ color: #2785d8; }
                    .counter.blue .counter-value,
                    .counter.blue .counter-content:before,
                    .counter.blue .counter-content:after{
                        background: #2785d8;
                    }
                    .counter.blue .counter-content{ border-color: #2785d8; }
                    .counter.purple{ color: #8c47b9; }
                    .counter.purple .counter-value,
                    .counter.purple .counter-content:before,
                    .counter.purple .counter-content:after{
                        background: #8c47b9;
                    }
                    .counter.purple .counter-content{ border-color: #8c47b9; }
                    .counter.green{ color: #0dbc5f; }
                    .counter.green .counter-value,
                    .counter.green .counter-content:before,
                    .counter.green .counter-content:after{
                        background: #0dbc5f;
                    }
                    .counter.green .counter-content{ border-color: #0dbc5f; }
                    @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