counter style : demo 153

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{
                            font-family: 'Poppins', sans-serif;
                            text-align: center;
                            padding: 0 15px 12px;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before{
                            content: '';
                            background: linear-gradient(to right, #017ED0, #10A9F4);
                            border-radius: 50px;
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            top: 30px;
                            z-index: -1;
                        }
                        .counter .counter-icon{
                            color: #777;
                            font-size: 40px;
                            line-height: 40px;
                            margin: 0 0 25px;
                        }
                        .counter .counter-content{
                            background: #fff;
                            padding: 30px 20px 25px;
                            margin: 0 0 12px;
                            border-radius: 30px 30px 0 0;
                            box-shadow: 0 -8px 8px -8px rgba(0, 0, 0, 0.5) inset;
                        }
                        .counter h3{
                            color: #10A9F4;
                            font-size: 20px;
                            font-weight: 400;
                            text-transform: capitalize;
                            margin: 0 0 15px;
                        }
                        .counter .counter-value{
                            color: #fff;
                            font-size: 40px;
                            font-weight: 400;
                            line-height: 40px;
                            display: block;
                        }
                        .counter.red:before{ background: linear-gradient(to right, #F40D03, #F95800); }
                        .counter.red h3{ color: #F95800; }
                        .counter.green:before{ background: linear-gradient(to right, #048604, #1BA208); }
                        .counter.green h3{ color: #1BA208; }
                        .counter.yellow:before{ background: linear-gradient(to right, #F57B06, #FDB312); }
                        .counter.yellow h3{ color: #FDB312; }
                        @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