counter style : demo 115

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.)
                        .demo{ background-color: #F1F1F1; }
                        .counter{
                            color:#6B41A3;
                            background: #6B41A3;
                            font-family: 'Open Sans', sans-serif;
                            text-align:center;
                            width: 200px;
                            height: 200px;
                            padding: 20px 15px;
                            margin: 0 auto;
                            border-radius: 20px;
                            box-shadow: 0 7px 5px -3px rgba(0,0,0,0.3);
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after{
                            content:  "";
                            background: #fff;
                            width: 100%;
                            height: 50%;
                            box-shadow: 0 -5px 5px rgba(0,0,0,0.2);
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            z-index: -1;
                        }
                        .counter:before{
                            background-color: transparent;
                            height: 130px;
                            width: 130px;
                            border: 5px solid #fff;
                            border-radius: 50%;
                            box-shadow: none;
                            transform: translateX(-50%);
                            left: 50%;
                            top: 15px;
                            bottom: auto;
                        }
                        .counter .counter-value{
                            color: #888;
                            background: #fff;
                            font-size: 35px;
                            font-weight: 600;
                            line-height: 110px;
                            width: 120px;
                            height: 120px;
                            margin: 0 auto 15px;
                            border: 5px solid #6B41A3;
                            border-radius: 100%;
                            box-shadow: 0 5px 10px rgba(0,0,0,0.3);
                            display: block;
                        }
                        .counter h3{
                            font-size: 15px;
                            font-weight: 700;
                            text-transform: uppercase;
                            padding: 5px 5px 4px;
                            margin: 0;
                            border: 1px solid #6B41A3;
                            border-radius: 20px;
                        }
                        .counter.pink{
                            color: #FC4980;
                            background: #FC4980;
                        }
                        .counter.pink .counter-value,
                        .counter.pink h3{
                            border-color: #FC4980;
                        }
                        .counter.blue{
                            color: #39B4EF;
                            background: #39B4EF;
                        }
                        .counter.blue .counter-value,
                        .counter.blue h3{
                            border-color: #39B4EF;
                        }
                        .counter.orange{
                            color: #F39436;
                            background: #F39436;
                        }
                        .counter.orange .counter-value,
                        .counter.orange h3{
                            border-color: #F39436;
                        }
                        @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