counter style : demo 101

1963

Web Designing

1854

Web Development

1756

Brand Building

1823

Responsive Design

HTML

(CSS Framwork: Bootstrap)
                        
1963

Web Designing

1854

Web Development

CSS

(Fonts required: Muli.)
                        .counter{
                            color: #fff;
                            background: linear-gradient(to right,#666 49%, #099B86 50%);
                            font-family: 'Muli', sans-serif;
                            text-align: center;
                            width: 160px;
                            min-height: 200px;
                            padding: 20px 10px 10px;
                            margin: 0 auto;
                            border-radius: 140px 140px 10px 10px;
                        }
                        .counter .counter-value{
                            color: #099B86;
                            background-color: #fff;
                            font-size: 30px;
                            font-weight: 700;
                            line-height: 105px;
                            height: 110px;
                            width: 110px;
                            margin: 0 auto 15px;
                            border-radius: 50%;
                            box-shadow: 0 0 10px #222;
                            display: block;
                        }
                        .counter h3{
                            color: #fff;
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: uppercase;
                            letter-spacing: 0.5px;
                            text-shadow: 0 0 3px #000;
                            margin: 0 0 10px;
                        }
                        .counter.orange{ background: linear-gradient(to right,#666 49%,#f77722 50%); }
                        .counter.orange .counter-value{ color: #f77722; }
                        .counter.pink{ background: linear-gradient(to right,#666 49%,#e557a5 50%); }
                        .counter.pink .counter-value{ color: #e557a5; }
                        .counter.purple{ background: linear-gradient(to right,#666 49%,#714ec4 50%); }
                        .counter.purple .counter-value{ color: #714ec4; }
                        @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