counter style : demo 191

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: Dosis.)
                    .counter{
                        color: #fff;
                        background: rgba(40,172,227,0.3);
                        font-family: 'Dosis', sans-serif;
                        text-align: center;
                        width: 210px;
                        height: 210px;
                        padding: 17px 30px 25px 0;
                        margin: 0 auto;
                        border-radius: 40px;
                        position: relative;
                        z-index: 1;
                    } 
                    .counter:before{
                        content: '';
                        background: linear-gradient(#1ca9e6,#0782b3);
                        width: 100%;
                        height: 100%;
                        border-radius: 30px; 
                        border: 5px solid #fff;
                        position: absolute;
                        top: -15px;
                        left: -15px;
                        z-index: -1;
                    }
                    .counter .counter-icon{
                        font-size: 35px;
                        margin: 0 0 15px;
                    }
                    .counter h3{
                        font-size: 20px;
                        font-weight: 600;
                        letter-spacing: 0.5px;
                        text-transform: uppercase;
                        margin: 0 0 12px;
                    }
                    .counter .counter-value{
                        font-size: 30px;
                        font-weight: 600;
                        display: block;
                    }
                    .counter.purple{ background: rgba(47,49,148,0.3); }
                    .counter.purple:before{ background: linear-gradient(#4143ac,#0c0f64); }
                    .counter.red{ background: rgba(255,1,0,0.3); }
                    .counter.red:before{ background: linear-gradient(#e22c2c,#b80303); }
                    .counter.yellow{ background: rgba(249,141,31,0.3); }
                    .counter.yellow:before{ background: linear-gradient(#f19935,#c76d05); }
                    @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