tab style : demo 91

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.

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.

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

(CSS Framwork: Bootstrap)
                        

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.

SecKtion 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.

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

(Fonts required: Barlow.)
                        a:hover,
                        a:focus{
                            text-decoration: none;
                            outline: none;
                        }
                        .tab{ font-family: 'Barlow', sans-serif; }
                        .tab .nav-tabs{
                            background: linear-gradient(#e9e9e9,#fff);
                            padding: 10px;
                            margin: 0 0 10px;
                            border: none;
                            border-radius: 20px 20px 0 0;
                        }
                        .tab .nav-tabs li a{
                            color: #555;
                            background: #fff;
                            font-size: 19px;
                            font-weight: 600;
                            text-transform: capitalize;
                            padding: 6px 20px 8px;
                            margin: 0 5px 0 0;
                            border: none;
                            border-radius: 10px;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.3s ease 0.3s;
                        }
                        .tab .nav-tabs li.active a,
                        .tab .nav-tabs li a:hover,
                        .tab .nav-tabs li.active a:hover{
                            color: #fff;
                            background: #fff;
                            border: none;
                        }
                        .tab .nav-tabs li a:before{
                            content: "";
                            background-color: #ea237e;
                            width: 100%;
                            height: 100%;
                            border-radius: 10px;
                            opacity: 0;
                            transform: perspective(350px) rotateY(-70deg) scale(0.5);
                            position: absolute;
                            top: 0;
                            left: 50px;
                            z-index: -1;
                            transition: left 0.3s ease 0s, opacity 0.3s ease 0s,transform 0.3s ease 0.2s;
                        }
                        .tab .nav-tabs li.active a:before,
                        .tab .nav-tabs li a:hover:before{
                            opacity: 1;
                            transform: perspective(350px) rotateY(0) scale(1);
                            left: 0;
                        }
                        .tab .tab-content{
                            color: #555;
                            background: linear-gradient(#fff,#e9e9e9);
                            font-size: 16px;
                            letter-spacing: 1px;
                            line-height: 25px;
                            padding: 20px;
                            border-radius: 0 0 20px 20px;
                            position: relative;
                        }
                        @media only screen and (max-width: 479px){
                            .tab .nav-tabs li{
                                width: 100%;
                                text-align: center;
                                margin: 0 0 10px;
                            }
                            .tab .nav-tabs li:last-child{ margin-bottom: 0; }
                            .tab .nav-tabs li a{ margin: 0; }
                        }
                    

JavaScript

(Tab depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms