counter style : demo 69

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: Lato.)
                        .counter{
                            font-family: 'Lato', sans-serif;
                            text-align: right;
                            width: 210px;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before{
                            content: "";
                            background: linear-gradient(45deg,#ec008c,#fc6767,#ec008c);
                            width: 100%;
                            height: 80%;
                            opacity: 0.85;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                            -webkit-clip-path: polygon(87% 0, 100% 50%, 87% 100%, 0% 100%, 13% 50%, 0% 0%);
                            clip-path: polygon(87% 0, 100% 50%, 87% 100%, 0% 100%, 13% 50%, 0% 0%);
                        }
                        .counter .counter-content{
                            color: #fff;
                            text-align: center;
                            min-height: 145px;
                            padding: 25px 25px 0 40px;
                        }
                        .counter .counter-value{
                            font-size: 40px;
                            font-weight:700;
                            text-shadow: 0 0 5px #000;
                            margin: 0 0 10px;
                            display: block;
                        }
                        .counter h3{
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: capitalize;
                            letter-spacing: 1px;
                            text-shadow: 0 0 2px #000;
                            margin: 0;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background: rgba(0,0,0,0.85);
                            font-size: 40px;
                            text-align: center;
                            line-height: 65px;
                            width: 80px;
                            height: 80px;
                            border:7px double #fff;
                            border-radius:50%;
                            display: inline-block;
                            transition: all 0.3s;
                        }
                        .counter:hover .counter-icon{ transform: rotate(360deg); }
                        .counter.blue:before{ background: linear-gradient(45deg, #514A9D,#24C6DC,#514A9D); }
                        .counter.green:before{ background: linear-gradient(45deg, #11998e,#38ef7d,#11998e); }
                        .counter.orange:before{ background: linear-gradient(45deg, #fc4a1a,#f7b733,#fc4a1a); }
                        @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