counter style : demo 163

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;
                        padding: 0 20px 20px;
                        position: relative;
                        z-index: 1;
                    }
                    .counter:before{
                        content: '';
                        border: 3px solid #39AE82;
                        border-radius: 20px;
                        position: absolute;
                        left: 0;
                        top: 30px;
                        bottom: 0;
                        right: 0;
                        z-index: -1;
                        clip-path: polygon(0 0, 50% 0, 50% 50%, 100% 50%, 100% 100%, 0 100%);
                    }
                    .counter .counter-icon{
                        color: #fff;
                        background-color: #39AE82;
                        font-size: 33px;
                        line-height: 63px;
                        width: 65px;
                        height: 65px;
                        margin: 0 auto 10px;
                        border-radius: 50%;
                        border: 2px solid #fff;
                        box-shadow: 0 0 10px rgba(0,0,0,0.25);
                    }
                    .counter .counter-value{
                        color: #39AE82;
                        font-size: 35px;
                        font-weight: 700;
                        margin: 0 0 4px;
                        display: block;
                    }
                    .counter h3{
                        color: #555;
                        font-size: 17px;
                        font-weight: 600;
                        text-transform: capitalize;
                        letter-spacing: 0.5px;
                        margin: 0;
                    }
                    .counter.green:before{ border-color: #4AB912; }
                    .counter.green .counter-icon{ background-color: #4AB912; }
                    .counter.green .counter-value{ color: #4AB912; }
                    .counter.blue:before{ border-color: #2F4F91; }
                    .counter.blue .counter-icon{ background-color: #2F4F91; }
                    .counter.blue .counter-value{ color: #2F4F91; }
                    .counter.red:before{ border-color: #e01123; }
                    .counter.red .counter-icon{ background-color: #e01123; }
                    .counter.red .counter-value{ color: #e01123; }
                    @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