counter style : demo 70

1963

Web Designing

1523

Web Development

1356

Brand Building

1689

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1963

Web Designing

1523

Web Development

CSS

(Fonts required: Nunito.)
                        .counter{
                            font-family: 'Nunito', sans-serif;
                            text-align: center;
                        }
                        .counter .counter-content{
                            color: #fff;
                            background: linear-gradient(to right,#642D64 49%, #502450 50%);
                            text-shadow:2px 3px 6px rgba(0,0,0,0.6);
                            width: 200px;
                            min-height: 180px;
                            padding: 30px 10px 50px;
                            margin: 0 auto;
                            -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                        }
                        .counter .counter-value{
                            font-size: 38px;
                            font-weight: 600;
                            margin: 0 0 10px;
                            display: block;
                        }
                        .counter h3{
                            font-size: 20px;
                            font-weight: 600;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .counter .counter-icon{
                            color: #642D64;
                            font-size: 50px;
                            line-height: 80px;
                            width: 100px;
                            height: 100px;
                            margin: -1px 0 0 0;
                            border: 10px dashed #642D64;
                            border-radius: 50%;
                            display: inline-block;
                            transition: all 0.3s;
                        }
                        .counter .counter-icon:hover{ transform: rotate(360deg); }
                        .counter.green .counter-content{ background: linear-gradient(to right,#759E00 49%,#5E7F00 50%); }
                        .counter.green .counter-icon{
                            color: #759E00;
                            border-color: #759E00;
                        }
                        .counter.orange .counter-content{ background: linear-gradient(to right,#EE6401 49%,#BF5001 50%); }
                        .counter.orange .counter-icon{
                            color: #EE6401;
                            border-color: #EE6401;
                        }
                        .counter.magenta .counter-content{ background: linear-gradient(to right,#C11957 49%,#9B1446 50%); }
                        .counter.magenta .counter-icon{
                            color: #C11957;
                            border-color: #C11957;
                        }
                        @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