counter style : demo 68

1823

Web Designing

1523

Web Development

1356

Brand Building

1689

Responsive Design

HTML

(Icons : Fontawesome & CSS Framwork: Bootstrap)
                        
1823

Web Designing

1523

Web Development

CSS

(Fonts required: Lato.)
                        .counter{
                            color: #E92401;
                            font-family: 'Lato', sans-serif;
                            text-align: center;
                            height: 250px;
                            width: 212px;
                            padding: 100px 0 0;
                            margin: 0 auto;
                            position: relative;
                            z-index: 1;
                        }
                        .counter:before,
                        .counter:after{
                            content: '';
                            background: linear-gradient(90deg, #EE4E00, #E92401);
                            height: 150px;
                            width: 150px;
                            transform: translateX(-50%) translateY(-50%) rotate(45deg);
                            position: absolute;
                            left: 50%;
                            top: 59%;
                            z-index: -2;
                        }
                        .counter:after{
                            background: #fff;
                            height: 210px;
                            width: 210px;
                            transform: translateX(-50%) translateY(-50%) rotate(0);
                            -webkit-clip-path: polygon(50% 0%, 50% 10%, 93% 50%, 50% 100%, 50% 90%, 7% 50%);
                            clip-path: polygon(50% 0%, 50% 10%, 93% 50%, 50% 100%, 50% 90%, 7% 50%);
                        }
                        .counter .counter-icon{
                            background: #fff;
                            font-size: 35px;
                            line-height: 53px;
                            height: 60px;
                            width: 60px;
                            border: 3px solid #EE4E00;
                            transform: rotate(42deg);
                            position: absolute;
                            left: 34px;
                            top: 15px;
                            z-index: 1;
                            transition: all 0.3s;
                        }
                        .counter .counter-icon i{ transform: rotate(-42deg); }
                        .counter:hover .counter-icon{ transform: rotate(-316deg); }
                        .counter .counter-content{
                            min-height: 90px;
                            padding: 0 35px;
                        }
                        .counter .counter-content:before{
                            content: '';
                            background-color: #fff;
                            height: 127px;
                            width: 127px;
                            box-shadow: 0 0 5px #555;
                            transform: translateX(-50%) translateY(-50%) rotate(45deg);
                            position: absolute;
                            left: 50%;
                            top: 59%;
                            z-index: -1;
                        }
                        .counter .counter-value{
                            font-size: 25px;
                            font-weight: 700;
                            margin: 0 0 3px 0;
                            display: block;
                        }
                        .counter h3{
                            font-weight: 600;
                            font-size: 18px;
                            text-transform: capitalize;
                            margin: 0;
                        }
                        .counter.blue{ color: #02B3DD; }
                        .counter.blue:before{ background: linear-gradient(90deg, #32E0D7,#02B3DD); }
                        .counter.blue .counter-icon{ border-color: #32E0D7; }
                        .counter.pink{ color: #b91d73; }
                        .counter.pink:before{ background: linear-gradient(90deg, #f953c6,#b91d73); }
                        .counter.pink .counter-icon{ border-color: #f953c6; }
                        .counter.darkblue{ color: #0172D8; }
                        .counter.darkblue:before{ background: linear-gradient(90deg, #0280DC,#0172D8); }
                        .counter.darkblue .counter-icon{ border-color: #0280DC; }
                        @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