vertical tab style : demo 2

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; }
                        .vertical-tab .nav-tabs{
                            display: table-cell;
                            width: 28%;
                            min-width: 28%;
                            border-bottom: none;
                        }
                        .vertical-tab .nav-tabs li{
                            float: none;
                            vertical-align: top;
                        }
                        .vertical-tab .nav-tabs li a{
                            display: block;
                            padding: 16px;
                            margin: 0 10px 5px 0;
                            font-size: 16px;
                            font-weight: 600;
                            color: #fff;
                            text-transform: uppercase;
                            text-align: center;
                            background: #349adb;
                            border-radius: 0;
                            border: none;
                            border-top: 3px solid #349adb;
                            border-bottom: 3px solid #349adb;
                            overflow: hidden;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .vertical-tab .nav-tabs li a:hover,
                        .vertical-tab .nav-tabs li.active a{
                            color: #349adb;
                            background: #fff;
                            border: none;
                            border-top: 3px solid #349adb;
                            border-bottom: 3px solid #349adb;
                        }
                        .vertical-tab .nav-tabs li a:before,
                        .vertical-tab .nav-tabs li a:after{
                            content: "";
                            width: 20px;
                            height: 20px;
                            background: linear-gradient(135deg,#349adb 49%, transparent 50%);
                            position: absolute;
                            top: -20px;
                            left: -20px;
                            transition:all 0.3s ease 0s;
                        }
                        .vertical-tab .nav-tabs li a:after{
                            background: linear-gradient(315deg,#349adb 49%, transparent 50%);
                            top: auto;
                            left: auto;
                            bottom: -20px;
                            right: -20px;
                        }
                        .vertical-tab .nav-tabs li a:hover:before,
                        .vertical-tab .nav-tabs li.active a:before{
                            top: 0;
                            left: 0;
                        }
                        .vertical-tab .nav-tabs li a:hover:after,
                        .vertical-tab .nav-tabs li.active a:after{
                            bottom: 0;
                            right: 0;
                        }
                        .vertical-tab .tab-content{
                            display: table-cell;
                            padding: 10px 20px;
                            font-size: 15px;
                            color: #50635f;
                            letter-spacing: 1px;
                            line-height: 24px;
                            text-align: justify;
                            vertical-align: top;
                            border-top: 3px solid #50635f;
                            border-bottom: 3px solid #50635f;
                            position: relative;
                        }
                        .vertical-tab .tab-content:before,
                        .vertical-tab .tab-content:after{
                            content: "";
                            width: 20px;
                            height: 20px;
                            background: linear-gradient(135deg,#50635f 49%, transparent 50%);
                            position: absolute;
                            top: 0;
                            left: 0;
                        }
                        .vertical-tab .tab-content:after{
                            background: linear-gradient(315deg,#50635f 49%, transparent 50%);
                            top: auto;
                            left: auto;
                            bottom: 0;
                            right: 0;
                        }
                        .vertical-tab .tab-content h3{
                            font-size: 24px;
                            color: #50635f;
                            margin: 0 0 5px 0;
                        }
                        @media only screen and (max-width: 479px){
                            .vertical-tab .nav-tabs{
                                display: block;
                                width: 100%;
                            }
                            .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 .tab-content{
                                display: block;
                                padding: 20px 5px 5px;
                            }
                            .vertical-tab .tab-content h3{ font-size: 18px; }
                        }
                    

JavaScript

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