counter style : demo 98

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: Montserrat.)
                        .counter{
                            font-family: 'Montserrat', sans-serif;
                            text-align: center;
                            width: 200px;
                            margin: 0 auto;
                        }
                        .counter .counter-content{
                            color: #444;
                            background-color: #fff;
                            min-height: 130px;
                            padding: 15px 15px 20px;
                            margin: 0 0 -17px;
                            border-radius: 15px 15px 0 0;
                            overflow: hidden;
                            position: relative;
                        }
                        .counter .counter-content:before{
                            content: '';
                            background: #4834d4;
                            height: 10px;
                            width: 100%;
                            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5) inset;
                            position: absolute;
                            left: 0;
                            top: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .counter .counter-icon{
                            font-size: 30px;
                            font-weight: 600;
                            margin: 0 0 3px;
                        }
                        .counter h3{
                            font-size: 18px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .counter .counter-value{
                            color: #fff;
                            background: #4834d4;
                            font-size: 33px;
                            line-height: 65px;
                            width: 200px;
                            height: 80px;
                            border-radius: 20px 20px 0 0;
                            display: block;
                            clip-path: polygon(20% 0, 80% 0, 80% 20%, 100% 20%, 50% 100%, 0 20%, 20% 20%);
                            transition: all 0.3s ease 0s;
                        }
                        .counter .counter-icon i{ transition: all 0.3s ease 0s; }
                        .counter:hover .counter-icon i{ transform: rotateY(360deg); }
                        .counter.orange .counter-content:before,
                        .counter.orange .counter-value{
                            background: #f2730c;
                        }
                        .counter.pink .counter-content:before,
                        .counter.pink .counter-value{
                            background: #FE3687;
                        }
                        .counter.green .counter-content:before,
                        .counter.green .counter-value{
                            background: #0ba57f;
                        }
                        @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