vertical tab style : demo 22

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

(CSS Framwork: Bootstrap)
                        

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

(Fonts required: Questrial.)
                        :root{
                            --text_color: #fff;
                            --main_color1: #5f27cd;
                            --main_color2: #341f97;
                        }
                        a:hover,a:focus{
                            text-decoration: none;
                            outline: none;
                        }
                        .vertical-tab{
                            font-family: 'Questrial', sans-serif;
                            display: table;
                        }
                        .vertical-tab .nav-tabs{
                           display: table-cell;
                           width: 28%;
                           min-width: 28%;
                           border: none;
                           vertical-align: top;
                           position: relative;
                        }
                        .vertical-tab .nav-tabs li{
                           float: none;
                           vertical-align: top;
                        }
                        .vertical-tab .nav-tabs li a{
                            color: var(--main_color1);
                            background-color: transparent;
                            font-size: 18px;
                            font-weight: 600;
                            text-align: center;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            padding: 13px 15px;
                            margin: 0 5px 5px 0;
                            border-radius: 0;
                            border: none;
                            overflow: hidden;
                            position: relative;
                            z-index: 1;
                            transition: all 0.20s ease 0s;
                        }
                        .vertical-tab .nav-tabs li a:hover,
                        .vertical-tab .nav-tabs li.active a,
                        .vertical-tab .nav-tabs li.active a:hover{
                            color: var(--text_color);
                            background-color: transparent;
                            border: none;
                        }
                        .vertical-tab .nav-tabs li a:before,
                        .vertical-tab .nav-tabs li a:after{
                            content: '';
                            background: var(--main_color1);
                            height: 50%;
                            width: 130%;
                            opacity: 1;
                            transform-origin: left top;
                            transform: rotate(-90deg);
                            position: absolute;
                            left: -30px;
                            top: 0;
                            z-index: -1;
                            transition: all 0.3s;
                        }
                        .vertical-tab .nav-tabs li a:after{
                            background: var(--main_color2);
                            transform-origin: left bottom;
                            transform: rotate(90deg);
                            top: 50%;
                        }
                        .vertical-tab .nav-tabs li.active a:before,
                        .vertical-tab .nav-tabs li a:hover:before,
                        .vertical-tab .nav-tabs li.active a:after,
                        .vertical-tab .nav-tabs li a:hover:after{
                            transform: rotate(0);
                        }
                        .vertical-tab .tab-content{
                            color:  var(--main_color2);
                            background-color: transparent;
                            font-size: 14px;
                            letter-spacing: 1px;
                            line-height: 23px;
                            margin-top: 10px;
                            padding: 10px 13px;
                            border: 3px solid var(--main_color2);
                            display: table-cell;
                            position: relative;
                        }
                        .vertical-tab .tab-content h3{
                            text-transform: uppercase;
                            margin: 0 0 7px 0;
                        }
                        @media only screen and (max-width: 479px){
                            .vertical-tab .nav-tabs{
                                display: block;
                                width: 100%;
                                border-right: none;
                            }
                            .vertical-tab .nav-tabs li a{ margin: 0 0 5px 0; }
                            .vertical-tab .tab-content{
                                display: block;
                                padding: 20px 15px 5px;
                            }
                            .vertical-tab .tab-content h3{ font-size: 18px; }
                        }
                    

JavaScript

(Vertical Tab depend on jQuery and Bootstrap.)
                        
                        
                    
License Terms