counter style : demo 113

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: Open Sans.)
                        .counter{
                            font-family: 'Open Sans', sans-serif;
                            text-align: center;
                            width: 200px;
                            padding: 30px 0 0;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter .counter-icon{
                            color: #6246F2;
                            background: #000;
                            font-size: 28px;
                            line-height: 52px;
                            width: 60px;
                            height: 60px;
                            border-radius: 50px;
                            border:4px solid #fff;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top: 0;
                            z-index: 1;
                        }
                        .counter .counter-content{
                            height: 200px;
                            width: 200px;
                            border-radius: 50%;
                            overflow: hidden;
                            position: relative;
                        }
                        .counter .counter-content:before,
                        .counter .counter-content:after{
                            content: '';
                            background-color: #fff;
                            border-radius: 50%;
                            box-shadow: 0 0 3px rgba(0,0,0,0.5);
                            position: absolute;
                            left: 8px;
                            top: 8px;
                            right: 8px;
                            bottom: 8px;
                            z-index: -1;
                        }
                        .counter .counter-content:after{
                            background-color: transparent;
                            box-shadow: none;
                            border: 2px dashed #6246F2;
                            left: 14px;
                            top: 14px;
                            right: 14px;
                            bottom: 14px;
                        }
                        .counter .counter-value{
                            color: #fff;
                            background-color: #6246F2;
                            font-size: 28px;
                            font-weight: 600;
                            padding: 38px 10px 5px;
                            margin: 0 0 15px;
                            display: block;
                            position: relative;
                        }
                        .counter .counter-value:before,
                        .counter .counter-value:after{
                            content: '';
                            background: linear-gradient(45deg,transparent 49%, #222 50%);
                            height: 12px;
                            width: 10px;
                            position: absolute;
                            left: 2px;
                            top: 100%;
                            z-index: -2;
                        }
                        .counter .counter-value:after{
                            transform: rotateY(180deg);
                            left: auto;
                            right: 2px;
                        }
                        .counter h3{
                            color: #777;
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: uppercase;
                            margin: 0 30px 7px 30px;
                        }
                        .counter.yellow .counter-icon{ color: #f9a200; }
                        .counter.yellow .counter-content:after{ border-color: #f9a200; }
                        .counter.yellow .counter-value{ background-color: #f9a200; }
                        .counter.pink .counter-icon{ color: #FF3754; }
                        .counter.pink .counter-content:after{ border-color: #FF3754; }
                        .counter.pink .counter-value{ background-color: #FF3754; }
                        .counter.blue .counter-icon{ color: #3898ff; }
                        .counter.blue .counter-content:after{ border-color: #3898ff; }
                        .counter.blue .counter-value{ background-color: #3898ff; }
                        @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