counter style : demo 67

1823

Web Designing

1523

Web Development

1356

Brand Building

1689

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1823

Web Designing

1523

Web Development

CSS

(Fonts required: Titillium Web.)
                        .demo{ background: #ECECEC; }
                        .counter{
                            font-family: 'Titillium Web', sans-serif;
                            text-align: center;
                            width: 210px;
                            padding: 5px 0 0;
                            margin: 0 auto;
                            position: relative;
                            z-index:1;
                        }
                        .counter:before{
                            content: "";
                            background: linear-gradient(#38ef7d, #11998e);
                            width: 100%;
                            height: 150px;
                            border-radius: 20px 20px 0 0;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                            -webkit-clip-path: polygon(0 0, 100% 0%, 100% 70%, 0% 100%);
                            clip-path: polygon(0 0, 100% 0%, 100% 70%, 0% 100%);
                        }
                        .counter .counter-value{
                            color: #fff;
                            font-size: 40px;
                            font-weight: 700;
                            margin-bottom: 5px;
                            display: block;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background: #fff;
                            font-size: 40px;
                            line-height: 100px;
                            width: 100px;
                            height: 100px;
                            margin: 0 auto 10px;
                            position: relative;
                            -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:hover .counter-icon i{
                            transform: rotateX(360deg);
                            text-shadow: 0 0 5px #000;
                            transition: all 0.3s;
                        }
                        .counter .counter-icon:before{
                            content: "";
                            background: linear-gradient(#11998e,#38ef7d);
                            position: absolute;
                            top: 10px;
                            left: 10px;
                            bottom: 10px;
                            right: 10px;
                            z-index: -1;
                            -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 h3{
                            color: #11998e;
                            font-size: 22px;
                            font-weight:700;
                            letter-spacing:  1px;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .counter.blue:before{ background: linear-gradient(#0575E6,#021B79); }
                        .counter.blue .counter-icon:before{ background: linear-gradient(#0575E6,#021B79); }
                        .counter.blue h3{ color: #021B79; }
                        .counter.red:before{ background: linear-gradient(#dc2430,#7b4397); }
                        .counter.red .counter-icon:before{ background: linear-gradient(#dc2430,#7b4397); }
                        .counter.red h3{ color: #7b4397; }
                        .counter.orange:before{ background: linear-gradient(#FF512F,#ff9068); }
                        .counter.orange .counter-icon:before{ background: linear-gradient(#FF512F,#ff9068); }
                        .counter.orange h3{ color: #FF512F; }
                        @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