counter style : demo 133

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: Poppins | Oswald.)
                        .counter{
                            color: #777;
                            font-family: 'Poppins', sans-serif;
                            text-align: center;
                            width: 210px;
                            height: 170px;
                            padding: 25px;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after{
                            content: "";
                            background: #01BFE1;
                            position: absolute;
                            top: 20px;
                            left: 0;
                            right: 0;
                            bottom: 20px;
                            z-index: -1;
                            clip-path: polygon(13% 0%, 87% 0%, 100% 50%, 87% 100%, 13% 100%, 0% 50%);
                        }
                        .counter:after{
                            background: #fff;
                            top: 0;
                            left: 10px;
                            right: 10px;
                            bottom: 0;
                            clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
                        }
                        .counter .counter-icon{
                            font-size: 35px;
                            line-height: 35px;
                            margin: 0 0 13px;
                        }
                        .counter h3{
                            color: #01BFE1;
                            font-family: 'Oswald', sans-serif;
                            font-size: 19px;
                            font-weight: 500;
                            letter-spacing: 0.5px;
                            line-height: 25px;
                            text-transform: uppercase;
                            margin: 0 0 8px;
                        }
                        .counter .counter-value{
                            font-size: 30px;
                            font-weight: 600;
                            display: block;
                        }
                        .counter.purple:before{ background: #2A1C71; }
                        .counter.purple h3{ color: #2A1C71; }
                        .counter.pink:before{ background: #FE3653; }
                        .counter.pink h3{ color: #FE3653; }
                        .counter.green:before{ background: #31ad26; }
                        .counter.green h3{ color: #31ad26; }
                        @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