counter style : demo 135

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: Rubik.)
                        .counter{
                            color: #222;
                            font-family: 'Rubik', sans-serif;
                            text-align: center;
                            width: 210px;
                            height: 210px;
                            padding: 20px;    
                            margin: 0 auto;
                            border-radius: 100px;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after{
                            content: '';
                            background: linear-gradient(to right, #3da2f4, #1a57f2);
                            height: 50%;
                            width: 95%;
                            border-radius: 120px 120px 0 0;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -1;
                        }
                        .counter:after{
                            border-radius: 0 0 120px 120px;
                            top: auto;
                            bottom: 0;
                            left: auto;
                            right: 0;
                        }
                        .counter .counter-content{
                            background-color: #fff;
                            height: 100%;
                            padding: 30px 12px;
                            border-radius: 50%;
                            box-shadow: 5px 5px rgba(0,0,0,0.1);
                        }
                        .counter .counter-icon{
                            color: #d1d1d1;
                            font-size: 35px;
                            line-height: 35px;
                            margin: 0 0 13px;
                        }
                        .counter .counter-value{
                            color: #1a57f2;
                            font-size: 30px;
                            font-weight: 600;
                            display: block;
                        }
                        .counter h3{
                            color: #555;
                            font-size: 16px;
                            font-weight: 500;
                            text-transform: capitalize;
                            margin: 0 0 8px;
                        }
                        .counter.orange:before,
                        .counter.orange:after{
                            background: linear-gradient(to right, #EB9421, #EF6024);
                        }
                        .counter.orange .counter-value{ color: #EF6024; }
                        .counter.purple:before,
                        .counter.purple:after{
                            background: linear-gradient(to right, #8475B6, #483F90);
                        }
                        .counter.purple .counter-value{ color: #483F90; }
                        .counter.green:before,
                        .counter.green:after{
                            background: linear-gradient(to right, #ADCE37, #61BC47);
                        }
                        .counter.green .counter-value{ color: #61BC47; }
                        @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