counter style : demo 104

1963

Web Designing

1854

Web Development

1756

Brand Building

1823

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1963

Web Designing

1854

Web Development

CSS

(Fonts required: Muli.)
                        .counter{
                            font-family: 'Muli', sans-serif;
                            text-align: center;
                            width: 200px;
                            padding: 10px 10px 0;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background: linear-gradient(to right bottom, #febd3b,#ff6311 50%, transparent 51%);
                            font-size: 30px;
                            text-align: left;
                            height: 90px;
                            width: 90px;
                            padding: 3px 13px;
                            position: absolute;
                            left: 0;
                            top: 0;
                        }
                        .counter .counter-icon:before,
                        .counter .counter-icon:after{
                            content: "";
                            background: linear-gradient(to right bottom,transparent 49%,#a83e05 50%);
                            width: 10px;
                            height: 10px;
                            position: absolute;
                            top: 0;
                            right: 0;
                        }
                        .counter .counter-icon:after{
                            top: auto;
                            bottom: 0;
                            left: 0;
                            right: auto;
                        }
                        .counter .counter-value{
                            color: #333;
                            background-color: #fff;
                            font-size: 33px;
                            font-weight: 700;
                            padding: 50px 20px 25px;
                            border-radius: 0 30px 0 0;
                            display: block;
                        }
                        .counter h3{
                            color: #fff;
                            background:linear-gradient(to bottom,#febd3b,#ff6311);
                            font-size: 15px;
                            font-weight: 600;
                            text-transform: uppercase;
                            padding: 10px 15px;
                            margin: 0 -10px;
                            border-radius: 0 0 0 20px;
                            position: relative;
                        }
                        .counter h3:before,
                        .counter h3:after{
                            content: "";
                            background: linear-gradient(to right bottom,transparent 49%,#a83e05 50%);
                            width: 10px;
                            height: 10px;
                            position: absolute;
                            top: -10px;
                            left: 0;
                        }
                        .counter h3:after{
                            transform: rotateY(180deg);
                            left: auto;
                            right: 0;
                        }
                        .counter.red .counter-icon{
                            background: linear-gradient(to right bottom, #fa123b,#c51115 50%, transparent 51%);
                        }
                        .counter.red .counter-icon:before,
                        .counter.red .counter-icon:after{
                            background:linear-gradient(to right bottom,transparent 49%,#660b1d 50%);
                        }
                        .counter.red h3{ background:linear-gradient(to bottom,#fa123b,#c51115); }
                        .counter.red h3:before,
                        .counter.red h3:after{
                            background:linear-gradient(to right bottom,transparent 49%,#660b1d 50%);
                        }
                        .counter.purple .counter-icon{
                            background: linear-gradient(to right bottom, #ac23ae,#4b1340 50%, transparent 51%);
                        }
                        .counter.purple .counter-icon:before,
                        .counter.purple .counter-icon:after{
                            background:linear-gradient(to right bottom,transparent 49%,#28034e 50%);
                        }
                        .counter.purple h3{ background:linear-gradient(to bottom,#ac23ae,#4b1340); }
                        .counter.purple h3:before,
                        .counter.purple h3:after{
                            background:linear-gradient(to right bottom,transparent 49%,#28034e 50%);
                        }
                        .counter.blue .counter-icon{
                            background: linear-gradient(to right bottom, #00a7db,#09409b 50%, transparent 51%);
                        }
                        .counter.blue .counter-icon:before,
                        .counter.blue .counter-icon:after{
                            background:linear-gradient(to right bottom,transparent 49%,#023b70 50%);
                        }
                        .counter.blue h3{ background:linear-gradient(to bottom,#00a7db,#09409b); }
                        .counter.blue h3:before,
                        .counter.blue h3:after{
                            background:linear-gradient(to right bottom,transparent 49%,#023b70 50%);
                        }
                        @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