counter style : demo 151

Web Designing

1963

Web Development

1854

Brand Building

1756

Responsive Design

1823

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

Web Designing

1963

Web Development

1854

CSS

(Fonts required: Poppins.)
                        .counter{
                            color: #FE8105;
                            background: linear-gradient(to right, #FE8105, #FE9F1E);
                            font-family: 'Poppins', sans-serif;
                            text-align: center;
                            width: 200px;
                            padding: 45px 10px 0;
                            margin: 0 auto;
                            position: relative;
                            clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0 100%, 0 25%);
                        }
                        .counter:before{
                            content: "";
                            background: #fff;
                            width: 100%;
                            height: 100%;
                            transform: translateX(-50%);
                            position: absolute;
                            top: 15px;
                            left: 50%;
                            z-index: -1;
                            clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0 100%, 0 25%);
                        }
                        .counter .counter-icon{
                            font-size: 37px;
                            line-height: 37px;
                            margin: 0 0 15px;
                        }
                        .counter h3{
                            font-size: 19px;
                            font-weight: 400;
                            text-transform: capitalize;
                            margin: 0 0 20px;
                        }
                        .counter .counter-value{
                            background: linear-gradient(to right, #FE8105, #FE9F1E);
                            font-size: 28px;
                            font-weight: 400;
                            line-height: 91px;
                            width: 140px;
                            height: 70px;
                            margin: 0 auto;
                            border-radius: 500px 500px 0 0;
                            display: block;
                            position: relative;
                            z-index: 1;
                        }
                        .counter .counter-value:before{
                            content: "";
                            background: #fff;
                            border-radius: inherit;
                            box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
                            position: absolute;
                            top: 12px;
                            bottom: 0;
                            left: 12px;
                            right: 12px;
                            z-index: -1;
                        }
                        .counter.green,
                        .counter.green .counter-value{
                            color: #209A1E;
                            background: linear-gradient(to right, #209A1E, #12AE00);
                        }
                        .counter.red,
                        .counter.red .counter-value{
                            color: #D73123;
                            background: linear-gradient(to right, #D73123, #FF540E);
                        }
                        .counter.blue,
                        .counter.blue .counter-value{
                            color: #118FCF;
                            background: linear-gradient(to right, #118FCF, #009FFD);
                        }
                        @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