counter style : demo 35

Web Designing

1245

Brand Building

1359

Web Development

1178

Responsive Design

1071

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
                        

Web Designing

1245

Brand Building

1359

CSS

(Fonts required: PT Sans.)
                        .counter{
                            font-family: 'PT Sans', sans-serif;
                            color: #fff;
                            text-align: center;
                            box-shadow: 0 6px 6px -7px #000 inset;
                            position: relative;
                        }
                        .counter .counter-content{
                            background: linear-gradient(to right,#EE3226 49%, #BF281F 50%);
                            width: 83%;
                            height: 100%;
                            margin: 0 auto;
                            padding: 30px 5px;
                            box-shadow: 0 5px 5px -5px #000 inset;
                            position: relative;
                            -webkit-clip-path: polygon(50% 100%, 100% 85%, 100% 0, 0 0, 0 85%);
                            clip-path: polygon(50% 100%, 100% 85%, 100% 0, 0 0, 0 85%);
                            transition: all 0.3s ease 0s;
                        }
                        .counter:hover .counter-content{
                            background: linear-gradient(to right,#BF281F 49%, #EE3226 50%);
                        }
                        .counter h3{
                            font-size: 20px;
                            font-weight: 600;
                            text-transform: capitalize;
                            letter-spacing: 1px;
                            margin: 0 0 8px 0;
                        }
                        .counter .counter-value{
                            font-size: 40px;
                            font-weight: 700;
                            display: block;
                        }
                        .counter .counter-icon{
                            color:  #fff;
                            font-size: 40px;
                            transition:all 0.3s;
                        }
                        .counter:hover .counter-icon{ transform:rotateY(360deg) scale(1.3); }
                        .counter.green .counter-content{
                            background:linear-gradient(to right,#93BD1A 49%, #729213 50%);
                        }
                        .counter.green:hover .counter-content{
                            background:linear-gradient(to right,#729213 49%, #93BD1A 50%);
                        }
                        .counter.blue .counter-content{
                            background:linear-gradient(to right,#5EC6D3 49%, #4A9AA3 50%);
                        }
                        .counter.blue:hover .counter-content{
                            background:linear-gradient(to right,#4A9AA3 49%, #5EC6D3 50%);
                        }
                        .counter.orange .counter-content{
                            background:linear-gradient(to right,#F68B20 49%, #C7731D 50%);
                        }
                        .counter.orange:hover .counter-content{
                            background:linear-gradient(to right,#C7731D 49%, #F68B20 50%);
                        }
                        @media screen and (max-width:990px){
                            .counter{ margin-bottom: 30px; }
                        }
                    

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