counter style : demo 102

1963

Web Designing

1854

Web Development

1756

Brand Building

1823

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1963

Web Designing

1854

Web Development

CSS

(Fonts required: Muli.)
                        .counter{
                            font-family: 'Muli', sans-serif;
                            text-align: center;
                            padding: 15px 0 0;
                        }
                        .counter .counter-content{
                            color: #fff;
                            background-color: #E33259;
                            width: 200px;
                            min-height: 110px;
                            padding: 0 10px 10px;
                            margin: 0 auto;
                            border-radius: 20px;
                            position: relative;
                        }
                        .counter .counter-content:before{
                            content: '';
                            background-color: #E33259;
                            height: 15px;
                            width: 150px;
                            border-radius: 10px 10px 0 0;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top: -15px;
                        }
                        .counter .counter-value{
                            font-size: 30px;
                            font-weight: 700;
                            margin: 0 0 10px;
                            display: block;
                        }
                        .counter h3{
                            color: #fff;
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background-color: #E33259;
                            font-size: 40px;
                            line-height: 40px;
                            width: 70px;
                            height: 50px;
                            border-radius: 0 0 100% 100%;
                            display: inline-block;
                        }
                        .counter .counter-icon i{ transition: all 0.3s ease; }
                        .counter:hover .counter-icon i{ transform: rotateX(360deg) rotateY(360deg); }
                        .counter.green .counter-content,
                        .counter.green .counter-content:before,
                        .counter.green .counter-icon{
                            background-color: #0C988B;
                        }
                        .counter.purple .counter-content,
                        .counter.purple .counter-content:before,
                        .counter.purple .counter-icon{
                            background-color: #5E2999;
                        }
                        .counter.blue .counter-content,
                        .counter.blue .counter-content:before,
                        .counter.blue .counter-icon{
                            background-color: #275799;
                        }
                        @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