tab style : demo 77

Section 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis mi varius.

Section 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis mi varius.

Section 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis mi varius.

HTML

                        

Section 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis mi varius.

Section 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis mi varius.

Section 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce semper, magna a ultricies volutpat, mi eros viverra massa, vitae consequat nisi justo in tortor. Proin accumsan felis ac felis dapibus, non iaculis mi varius.

CSS

                        a:hover,a:focus{
                            text-decoration: none;
                            outline: none;
                        }
                        .tab .nav-tabs{
                            border: none;
                            margin: 0;
                        }
                        .tab .nav-tabs li a{
                            padding: 10px;
                            margin-right: 20px;
                            font-size: 20px;
                            font-weight: 600;
                            color: #293241;
                            text-transform: uppercase;
                            border: none;
                            border-radius: 0;
                            background: transparent;
                            z-index: 2;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .tab .nav-tabs li a:hover,
                        .tab .nav-tabs li.active a{ border: none; }
                        .tab .nav-tabs li a:before{
                            content: "";
                            width: 100%;
                            height: 4px;
                            background: #f6f6f6;
                            border: 1px solid #e9e9e9;
                            border-radius: 2px;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                        }
                        .tab .nav-tabs li a:after{
                            content: "";
                            width: 0;
                            height: 4px;
                            background: #727cb6;
                            border: 1px solid #727cb6;
                            border-radius: 2px;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            opacity: 0;
                            z-index: 1;
                            transition: all 1s ease 0s;
                        }
                        .tab .nav-tabs li:hover a:after,
                        .tab .nav-tabs li.active a:after{
                            width: 100%;
                            opacity: 1;
                        }
                        .tab .tab-content{
                            padding: 15px 20px;
                            margin-top: 20px;
                            font-size: 17px;
                            color: #fff;
                            letter-spacing: 1px;
                            line-height: 30px;
                            background: #727cb6;
                            position: relative;
                        }
                        @media only screen and (max-width: 479px){
                            .tab .nav-tabs li{
                                width: 100%;
                                text-align: center;
                                margin-bottom: 15px;
                            }
                            .tab .tab-content{ margin-top: 0; }
                        }
                    

JavaScript

(Tab depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms