counter style : demo 72

Web Designing

1963

Brand Building

1879

Web Development

1745

Responsive Design

1528

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

Web Designing

1963

Brand Building

1879

CSS

(Fonts required: Bitter.)
                        .counter{
                            color: #fff;
                            background: linear-gradient(30deg,#509C3A,#97C136,#509C3A);
                            font-family: 'Bitter', serif;
                            text-align: center;
                            width: 210px;
                            padding: 15px 0 20px;
                            margin: 0 auto;
                            position: relative;
                            -webkit-clip-path: polygon(50% 0%, 100% 15%, 100% 85%, 50% 100%, 0% 85%, 0% 15%);
                            clip-path: polygon(50% 0%, 100% 15%, 100% 85%, 50% 100%, 0% 85%, 0% 15%);
                        }
                        .counter .counter-icon{
                            font-size: 40px;
                            margin: 0 0 90px;
                            transition: all 0.3s;
                        }
                        .counter:hover .counter-icon{
                            text-shadow: 0 0 3px #000;
                            transform: rotateX(360deg) rotateY(360deg);
                        }
                        .counter .counter-value{
                            font-size: 35px;
                            line-height: 33px;
                            text-shadow: 0 0 3px #000;
                            display: block;
                            margin: 0 0 10px;
                        }
                        .counter h3{
                            color: #509C3A;
                            background: rgba(255,255,255,0.9);
                            font-size: 18px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            line-height: 23px;
                            text-transform: capitalize;
                            box-shadow: 0 0 5px #000;
                            width: 100%;
                            padding: 10px 10px;
                            margin: 0 0 10px;
                            transform: translateY(-50%);
                            position: absolute;
                            left: 0;
                            top: 50%;
                        }
                        .counter.blue{ background: linear-gradient(30deg, #01A3A4,#00D2D3,#01A3A4); }
                        .counter.blue h3{ color: #01A3A4; }
                        .counter.purple{ background: linear-gradient(30deg, #741978,#B41D8E,#741978); }
                        .counter.purple h3{ color: #741978; }
                        .counter.orange{ background: linear-gradient(30deg, #D46122,#FCAF16,#D46122); }
                        .counter.orange h3{ color: #D46122; }
                        @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