counter style : demo 32

1245

Web Designing

1359

Brand Building

1178

Web Development

1071

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
                        
1245

Web Designing

1359

Brand Building

CSS

(Fonts required: Roboto)
                        .counter{
                            background: #ff5400;
                            font-family: 'Roboto', sans-serif;
                            text-align: center;
                            width: 200px;
                            height: 200px;
                            border: 3px solid #ff5400;
                            border-radius: 50%;
                            margin: 30px auto;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .counter:hover{
                            box-shadow: 0 0 10px rgba(0,0,0,0.8),0 0 0 10px rgba(0,0,0,0.05);
                        }
                        .counter:before{
                            content: '';
                            height: 90px;
                            width: 110px;
                            background: linear-gradient(to bottom,#fff,transparent,transparent);
                            border-radius: 45%;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top: 0;
                            z-index: -1;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            background-color: #FFB22A;
                            font-size: 45px;
                            line-height: 90px;
                            height: 90px;
                            width: 90px;
                            border-radius: 50%;
                            box-shadow: 0 0 10px rgba(0,0,0,0.8);
                            position: absolute;
                            right: -15px;
                            top: -20px;
                            z-index: -1;
                        }
                        .counter .counter-content{
                            color: #fff;
                            background: rgba(255,255,255,0.3);
                            height: 170px;
                            width: 170px;
                            margin: 30px auto 45px;
                            padding: 45px 0;
                            border: 3px solid #fff;
                            border-radius: 50%;
                            overflow: hidden;
                            position: relative;
                        }
                        .counter .counter-content:before{
                            content: '';
                            height: 100%;
                            width: 100%;
                            background: repeating-radial-gradient(transparent,rgba(255,255,255,0.15) 23%);
                            border-radius: 50%;
                            position: absolute;
                            left: -45%;
                            bottom: -30%;
                            transition: all 0.5s ease 0s;
                        }
                        .counter:hover .counter-content:before{ left: 50%; }
                        .counter .counter-value{
                            font-size: 35px;
                            line-height: 20px;
                            display: block;
                        }
                        .counter h3{
                            font-size: 16px;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            padding: 7px 10px;
                        }
                        .counter.purple{ background: #5f06ad;border-color:#5f06ad; }
                        .counter.green{ background: #00a364;border-color:#00a364; }
                        .counter.blue{ background: #004bbc;border-color:#004bbc; }
                        @media screen and (max-width:990px){
                            .counter{ margin-bottom: 30px; }
                        }
                    

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