vertical tab style : demo 4

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: none;
                            border-right: 1px solid #1b9ef5;
                            position: relative;
                        }
                        .vertical-tab .nav-tabs li{
                            float: none;
                            vertical-align: top;
                            margin-right: 25px;
                        }
                        .vertical-tab .nav-tabs li a{
                            display: block;
                            padding: 10px;
                            margin-bottom: 8px;
                            background: #f5f5f5;
                            font-size: 18px;
                            color: #505050;
                            text-align: center;
                            text-transform: uppercase;
                            border-radius: 0;
                            border: 1px solid rgba(0,0,0,0.5);
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .vertical-tab .nav-tabs li a:hover,
                        .vertical-tab .nav-tabs li.active a{
                            background: #1b9ef5;
                            color: #fff;
                            border-color: transparent;
                        }
                        .vertical-tab .nav-tabs li a:before,
                        .vertical-tab .nav-tabs li a:after{
                            content: "";
                            width: 20px;
                            height: 1px;
                            background: #1b9ef5;
                            position: absolute;
                            top: 50%;
                            right: -48px;
                            opacity: 0;
                            transform: translateY(-50%);
                            transition: all 0.3s ease 0s;
                        }
                        .vertical-tab .nav-tabs li a:after{
                            width: 6px;
                            height: 6px;
                            border-radius: 50%;
                            right: -40px;
                        }
                        .vertical-tab .nav-tabs li.active a:before,
                        .vertical-tab .nav-tabs li a:hover:before{
                            opacity: 1;
                            right: -28px;
                        }
                        .vertical-tab .nav-tabs li.active a:after,
                        .vertical-tab .nav-tabs li a:hover:after{
                            opacity: 1;
                            right: -13px;
                        }
                        .vertical-tab .tab-content{
                            display: table-cell;
                            padding: 12px 15px 0;
                            font-size: 15px;
                            color: #505050;
                            letter-spacing: 1px;
                            line-height: 24px;
                            text-align: justify;
                            vertical-align: top;
                            position: relative;
                        }
                        .vertical-tab .tab-content h3{
                            font-size: 24px;
                            color: #505050;
                            margin: 0 0 5px 0;
                        }
                        @media only screen and (max-width: 479px){
                            .vertical-tab .nav-tabs{
                                display: block;
                                width: 100%;
                                border-right: none;
                            }
                            .vertical-tab .nav-tabs li { margin: 0 0 30px 0; }
                            .vertical-tab .nav-tabs li a:before{
                                width: 1px;
                                height: 20px;
                                top: auto;
                                right: auto;
                                bottom: 0;
                                left: 50%;
                                transform: translate(-50%, 0);
                            }
                            .vertical-tab .nav-tabs li a:after{
                                top: auto;
                                right: auto;
                                bottom: 0;
                                left: 50%;
                                transform: translate(-50%, 0);
                            }
                            .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{ bottom: -20px; }
                            .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