counter style : demo 36

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: PT Sans.)
                        .counter{
                            font-family: 'PT Sans', sans-serif;
                            color: #505050;
                            text-align: center;
                            padding: 100px 0 10px;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before{
                            content: '';
                            height: 150px;
                            width: 150px;
                            background-color: #13A8A9;
                            transform:translateX(-50%) rotate(45deg);
                            position: absolute;
                            left: 50%;
                            top: 35px;
                            z-index: -1;
                        }
                        .counter .counter-icon{
                            color: #fff;
                            font-size: 45px;
                            transform: translateX(-50%) scale(1) rotateX(0);
                            position: absolute;
                            left: 50%;
                            top: 25px;
                            transition: all 0.3s;
                        }
                        .counter:hover .counter-icon{
                            transform: translateX(-50%) scale(1.1) rotateX(360deg);
                        }
                        .counter .counter-content{
                            background-color: #fff;
                            height: 160px;
                            width: 160px;
                            padding: 35px 25px 30px;
                            margin: 0 auto;
                            border-radius: 50%;
                            box-shadow: 0 0 10px #909090, 0 0 0 10px #E7E1E8;
                            z-index: 1;
                            transition: all 0.3s;
                        }
                        .counter:hover .counter-content{
                            box-shadow: 0 0 10px #909090, 0 0 0 10px #E7E1E8, 0 0 10px #909090 inset;
                        }
                        .counter .counter-value{
                            color: #13A8A9;
                            font-size: 35px;
                            font-weight: 500;
                            display: block;
                        }
                        .counter h3{
                           font-size: 16px;
                           letter-spacing: 1px;
                           text-transform: capitalize;
                           margin: 0;
                        }
                        .counter.green:before{ background-color: #A1C04B; }
                        .counter.green .counter-value{ color: #A1C04B; }
                        .counter.gray:before{ background-color: #555F68; }
                        .counter.gray .counter-value{ color: #555F68; }
                        .counter.purple:before{ background-color: #6514a8; }
                        .counter.purple .counter-value{ color: #6514a8; }
                        @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