counter style : demo 132

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.)
                        .counter{
                            color: #666;
                            font-family: 'Poppins', sans-serif;
                            text-align: center;
                            width: 200px;
                            height: 200px;
                            padding: 0 20px 20px 0;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after{
                            content: "";
                            background: linear-gradient(#F3AC2F, #ED6422);
                            position: absolute;
                            top: 10px;
                            left: 10px;
                            right: 0;
                            bottom: 0;
                            z-index: -1;
                        }
                        .counter:after{
                            background: transparent;
                            border: 2px dashed rgba(255,255,255,0.5);
                            top: 20px;
                            left: 20px;
                            right: 10px;
                            bottom: 10px;
                        }
                        .counter .counter-content{
                            background-color: #fff;
                            height: 100%;
                            padding: 23px 15px;
                            box-shadow: 5px 5px 5px rgba(0,0,0,0.25);
                            position: relative;
                        }
                        .counter .counter-content:before,
                        .counter .counter-content:after{
                            content: '';
                            background: linear-gradient(to top right, #ad3a05 50%, transparent 52%);
                            height: 10px;
                            width: 10px;
                            position: absolute;
                            right: -10px;
                            top: 0;
                        }
                        .counter .counter-content:after{
                            transform: rotate(180deg);
                            top: auto;
                            bottom: -10px;
                            right: auto;
                            left: 0;
                        }
                        .counter .counter-icon{
                            font-size: 35px;
                            line-height: 35px;
                            margin: 0 0 15px;
                        }
                        .counter h3{
                            color: #F36526;
                            font-size: 18px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            line-height: 20px;
                            text-transform: uppercase;
                            margin: 0 0 7px;
                        }
                        .counter .counter-value{
                            font-size: 30px;
                            font-weight: 600;
                            display: block;
                        }
                        .counter.purple:before{ background: linear-gradient(#C4588C, #BE2A8D); }
                        .counter.purple .counter-content:before,
                        .counter.purple .counter-content:after{
                            background: linear-gradient(to top right, #7c1058 50%, transparent 52%);
                        }
                        .counter.purple h3{ color: #BE2A8D; }
                        .counter.blue:before{ background: linear-gradient(#7ACBC5, #2D9C91); }
                        .counter.blue .counter-content:before,
                        .counter.blue .counter-content:after{
                            background: linear-gradient(to top right, #0a5b53 50%, transparent 52%);
                        }
                        .counter.blue h3{ color: #2D9C91; }
                        .counter.green:before{ background: linear-gradient(#C0D62A, #83C040); }
                        .counter.green .counter-content:before,
                        .counter.green .counter-content:after{
                            background: linear-gradient(to top right, #518416 50%, transparent 52%);
                        }
                        .counter.green h3{ color: #83C040; }
                        @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