vertical tab style : demo 1

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;
                        }
                        .vertical-tab{
                            display: table;
                            border-right: 8px solid #e74c3c;
                        }
                        .vertical-tab .nav-tabs{
                            display: table-cell;
                            min-width: 28%;
                            border-bottom: none;
                            border-right: 8px solid #e74c3c;
                        }
                        .vertical-tab .nav-tabs li{
                            float: none;
                            vertical-align: top;
                        }
                        .vertical-tab .nav-tabs li a{
                            display: block;
                            padding: 16px;
                            margin-right: 0;
                            font-size: 16px;
                            font-weight: 600;
                            color: #fff;
                            text-transform: uppercase;
                            background: #272e38;
                            border: none;
                            border-radius: 0;
                            position: relative;
                        }
                        .vertical-tab .nav-tabs li a:hover,
                        .vertical-tab .nav-tabs li.active a{
                            background: #e74c3c;
                            border: none;
                            color: #fff;
                        }
                        .vertical-tab .nav-tabs li.active a:after{
                            content: "";
                            width: 20px;
                            height: 20px;
                            background: linear-gradient(225deg,#e74c3c 49%, transparent 50%);
                            position: absolute;
                            top: 50%;
                            right: -16px;
                            transform: translateY(-50%) rotate(45deg);
                        }
                        .vertical-tab .tab-content{
                            display: table-cell;
                            padding: 15px 20px;
                            font-size: 15px;
                            color: #272e38;
                            letter-spacing: 1px;
                            line-height: 25px;
                            text-align: justify;
                            vertical-align: top;
                        }
                        .vertical-tab .tab-content h3{
                            padding-bottom: 10px;
                            margin: 0 0 10px 0;
                            font-weight: 600;
                            color: #e74c3c;
                            text-transform: uppercase;
                            border-bottom: 1px solid #272e38;
                        }
                        @media only screen and (max-width: 479px){
                            .vertical-tab{
                                border-right: none;
                                border-bottom: 8px solid #e74c3c;
                            }
                            .vertical-tab .nav-tabs{
                                display: block;
                                margin: 0 -10px;
                                border-right: none;
                            }
                            .vertical-tab .nav-tabs li{ margin-bottom: 10px; }
                            .vertical-tab .nav-tabs li:last-child{ margin-bottom: 0; }
                            .vertical-tab .nav-tabs li a{ padding: 10px; }
                            .vertical-tab .nav-tabs li.active a:after{ display: none; }
                            .vertical-tab .tab-content{
                                display: block;
                                padding: 15px 0;
                            }
                            .vertical-tab .tab-content h3{ font-size: 18px; }
                        }
                    

JavaScript

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