counter style : demo 145

Web Designing

1963

Web Development

1854

Brand Building

1756

Responsive Design

1823

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        

Web Designing

1963

Web Development

1854

CSS

(Fonts required: Poppins.)
                        .counter{
                            color: #9D26B4;
                            font-family: 'Poppins', sans-serif;
                            text-align: right;
                            width: 200px;
                            height: 200px;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before{
                            content: '';
                            background: radial-gradient(at 5% 10%, #e7e7e7 10%, transparent 50%, transparent 80%, #e7e7e7 100%);
                            border: 5px solid #9D26B4;
                            border-radius: 0 100px 0 50px;
                            position: absolute;
                            left: 0;
                            right: 0;
                            top: 0;
                            bottom: 0;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .counter:hover:before{ box-shadow: 0 0 8px rgba(0,0,0,0.5); }
                        .counter .counter-icon{
                            color: #fff;
                            background: #9D26B4;
                            font-size: 40px;
                            text-align: center;
                            line-height: 70px;
                            width: 80px;
                            height: 80px;
                            margin: 0 0 15px;
                            border-radius: 50px;
                            border: 6px solid #fff;
                            display: inline-block;
                        }
                        .counter h3{
                            font-size: 18px;
                            font-weight: 600;
                            text-transform: capitalize;
                            text-align: center;
                            padding: 0 13px;
                            margin: 0 0 15px;
                        }
                        .counter .counter-value{
                            font-size: 35px;
                            font-weight: 600;
                            line-height: 35px;
                            text-align: center;
                            display: block;
                        }
                        .counter.red{ color: #FA1212; }
                        .counter.red:before{ border-color: #FA1212; }
                        .counter.red .counter-icon{ background-color: #FA1212; }
                        .counter.blue{ color: #0F6085; }
                        .counter.blue:before{ border-color: #0F6085; }
                        .counter.blue .counter-icon{ background-color: #0F6085; }
                        .counter.green{ color: #009068; }
                        .counter.green:before{ border-color: #009068; }
                        .counter.green .counter-icon{ background-color: #009068; }
                        @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