vertical tab style : demo 19

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: Roboto.)
                        :root{
                            --text_color: #444;
                            --main_color: #27ae60;
                            --bg_color: rgba(46,204,113,0.1);
                        }
                        a:hover,a:focus{
                            text-decoration: none;
                            outline: none;
                        }
                        .vertical-tab{
                            font-family: 'Roboto', 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(--text_color);
                            background-color: transparent;
                            font-size: 18px;
                            text-align: center;
                            text-transform: uppercase;
                            padding: 8px 15px;
                            margin: 0 -2px 0 0;
                            border-radius: 0;
                            border: 2px solid transparent;
                            display: block;
                            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(--main_color);
                            background-color: var(--bg_color);
                            border: 2px solid var(--main_color);
                        }
                        .vertical-tab .nav-tabs li a:before,
                        .vertical-tab .nav-tabs li a:after{
                            content: "";
                            background-color: var(--main_color);
                            width: 10px;
                            height: 100%;
                            opacity: 0;
                            position: absolute;
                            top: 0;
                            left: -20%;
                            transition: all 0.3s ease 0s;
                        }
                        .vertical-tab .nav-tabs li a:after{
                            height: 15px;
                            width: 15px;
                            transform: translateY(-50%) rotate(45deg);
                            top: 50%;
                            transition: all 0.3s ease 0.1s;
                        }
                        .vertical-tab .nav-tabs li.active a:before,
                        .vertical-tab .nav-tabs li a:hover:before{
                            opacity: 1;
                            left: 0;
                        }
                        .vertical-tab .nav-tabs li.active a:after,
                        .vertical-tab .nav-tabs li a:hover:after{
                            opacity: 1;
                            left: -2px;
                            transition: all 0.3s ease 0s;
                        }
                        .vertical-tab .tab-content{
                            color: var(--text_color);
                            background-color: var(--bg_color);
                            font-size: 14px;
                            line-height: 25px;
                            margin-top: 10px;
                            padding: 10px 15px;
                            border-left: 2px solid var(--main_color);
                            display: table-cell;
                            position: relative;
                        }
                        .vertical-tab .tab-content h3{
                            color: var(--main_color);
                            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 .tab-content{
                                display: block;
                                padding: 20px 15px 5px;
                            }
                            .vertical-tab .nav-tabs li a:before{
                                height: 5px;
                                width: 100%;
                                left: 0;
                            }
                            .vertical-tab .nav-tabs li a:after{
                                left: 50%;
                                top:-7px;
                                transform: translateX(-50%) translateY(0) rotate(45deg);
                            }
                            .vertical-tab .nav-tabs li.active a:after,
                            .vertical-tab .nav-tabs li a:hover:after{
                                left: 50%;
                                transform: translateX(-50%) translateY(0) rotate(45deg);
                            }
                            .vertical-tab .tab-content{
                                border-left: none;
                                border-bottom: 2px solid var(--main_color);
                            }
                            .vertical-tab .tab-content h3{ font-size: 18px; }
                        }
                    

JavaScript

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