counter style : demo 62

1823

Web Designing

1524

Web Development

1589

Brand Building

1710

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1823

Web Designing

1524

Web Development

CSS

(Fonts required: Ubuntu.)
                        .counter{
                            font-family: 'Ubuntu', sans-serif;
                            text-align: center;
                            width: 200px;
                            margin: 0 auto;
                        }
                        .counter .counter-icon{
                            color: #F54337;
                            background: #F1B1B2;
                            font-size: 35px;
                            padding: 12px 0 7px;
                            -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                        }
                        .counter .counter-icon i{ transition: all 0.3s; }
                        .counter:hover .counter-icon i{
                            text-shadow: 0 0 5px #000;
                            transform: rotateX(360deg) rotateY(360deg);
                        }
                        .counter .counter-content{
                            color: #fff;
                            background: #F54337;
                            min-height: 153px;
                            padding: 35px 30px 0;
                            border-bottom: 30px solid #F1B1B2;
                            -webkit-clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
                            clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
                        }
                        .counter .counter-value{
                            font-size: 35px;
                            line-height: 20px;
                            margin: 0 0 20px;
                            display: block;
                            transition: all 0.3s;
                        }
                        .counter:hover .counter-value{ text-shadow: 0 0 2px #000; }
                        .counter h3{
                            font-size: 16px;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .counter.green .counter-icon{
                            color: #4EAF4E;
                            background: #A6DAA9;
                        }
                        .counter.green .counter-content{
                            background: #4EAF4E;
                            border-bottom-color: #A6DAA9;
                        }
                        .counter.blue .counter-icon{
                            color: #2194ED;
                            background: #9DCAF1;
                        }
                        .counter.blue .counter-content{
                            background: #2194ED;
                            border-bottom-color: #9DCAF1;
                        }
                        .counter.orange .counter-icon{
                            color: #FF9801;
                            background: #FFCE77;
                        }
                        .counter.orange .counter-content{
                            background: #FF9801;
                            border-bottom-color: #FFCE77;
                        }
                        @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