counter style : demo 122

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: Baloo Tamma 2.)
                        .counter{
                            color: #ffa502;
                            font-family: 'Baloo Tamma 2', cursive;
                            text-align: center;
                            width: 200px;
                            height: 210px;
                            padding: 103px 15px 30px;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after{
                            content: '';
                            background: #ffa502;
                            height: calc(100% - 7px);
                            width: 100%;
                            position: absolute;
                            left: 0;
                            top: 7px;
                            z-index: -1;
                            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
                        }
                        .counter:after{
                            background: linear-gradient(-151deg,#ffa502,#ffa502 80px,#fff 82px,#fff 100%);
                            transform: scale(0.96,0.94);
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background-color: #ffa502;
                            font-size: 40px;
                            line-height: 85px;
                            height: 70px;
                            width: 70px;
                            box-shadow:  0 0 15px -3px rgba(0,0,0,0.3);
                            transform: rotate(30deg);
                            position: absolute;
                            top: 14px;
                            right: 22px;
                        }
                        .counter .counter-icon i{ transform: rotate(-30deg); }
                        .counter .counter-value{
                            font-size: 33px;
                            font-weight: 700;
                            line-height: 30px;
                            margin: 0 0 5px;
                            display: block;
                        }
                        .counter h3{
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .counter.purple{ color: #7b4c90; }
                        .counter.purple:before,
                        .counter.purple .counter-icon{ background: #7b4c90; }
                        .counter.purple:after{ background: linear-gradient(-151deg,#7b4c90,#7b4c90 80px,#fff 82px,#fff 100%); }
                        .counter.blue{ color: #4c5882; }
                        .counter.blue:before,
                        .counter.blue .counter-icon{ background: #4c5882; }
                        .counter.blue:after{ background: linear-gradient(-151deg,#4c5882,#4c5882 80px,#fff 82px,#fff 100%); }
                        .counter.red{ color: #ee5835; }
                        .counter.red:before,
                        .counter.red .counter-icon{ background: #ee5835; }
                        .counter.red:after{ background: linear-gradient(-151deg,#ee5835,#ee5835 80px,#fff 82px,#fff 100%); }
                        @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