counter style : demo 129

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: #F84235;
                            font-family: 'Poppins', sans-serif;
                            text-align: center;
                            width: 210px;
                            height: 210px;
                            padding: 25px;
                            margin: 0 auto;
                            border-radius: 50%;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after,
                        .counter .counter-content:before,
                        .counter .counter-content:after{
                            content: '';
                            background-color: #de508c;
                            height: 75%;
                            width: 75%;
                            border-radius: 50%;
                            box-shadow: 0 0 7px rgba(0,0,0,0.7);
                            position: absolute;
                            left: 7px;
                            top: 7px;
                            z-index: -1;
                        }
                        .counter:after,
                        .counter .counter-content:after{
                            background-color: #ab279e;
                            opacity: 0.6;
                            left: auto;
                            right: 7px;
                        }
                        .counter .counter-content:before,
                        .counter .counter-content:after{
                            top: auto;
                            bottom: 7px;
                        }
                        .counter .counter-content:before{
                            background-color: #ea3e3a;
                            opacity: 0.6;
                        }
                        .counter .counter-content:after{
                            background-color: #ae57b8;
                            opacity: 1;
                            z-index: -2;
                        }
                        .counter .counter-content{
                            background-color: #fff;
                            height: 160px;
                            padding: 20px 12px;
                            border-radius: 50%;
                            box-shadow: 0 0 10px rgba(0,0,0,0.7);
                        }
                        .counter .counter-icon{
                            font-size: 30px;
                            margin: 0 0 5px;
                        }
                        .counter h3{
                            font-size: 15px;
                            font-weight: 500;
                            letter-spacing: 0.5px;
                            text-transform: capitalize;
                            margin: 0 0 7px;
                        }
                        .counter .counter-value{
                            font-size: 27px;
                            font-weight: 600;
                            display: block;
                        }
                        .counter.green{ color: #84BD48; }
                        .counter.green:before{ background-color: #84BD48; }
                        .counter.green:after{ background-color: #80C67E; }
                        .counter.green .counter-content:before{ background-color: #6AB64A; }
                        .counter.green .counter-content:after{ background-color: #B1E67C; }
                        @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