vertical tab style : demo 18

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: Varela Round.)
                        :root{
                            --w_color: #fff;
                            --bd_color: #34495e;
                            --bg_color: #e74c3c;
                        }
                        a:hover,a:focus{
                            text-decoration: none;
                            outline: none;
                        }
                        .vertical-tab{
                            font-family: 'Varela Round', 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(--bd_color);
                            background-color: var(--w_color);
                            font-size: 18px;
                            text-align: center;
                            text-transform: uppercase;
                            padding: 8px 15px;
                            margin:0 -3px 10px 0;
                            border-radius: 0;
                            border: 3px solid var(--bd_color);
                            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(--w_color);
                            background-color: var(--w_color);
                            border: 3px solid var(--bd_color);
                        }
                        .vertical-tab .nav-tabs li a:before{
                            content: "";
                            background-color: var(--bg_color);
                            width: calc(100% - 15px);
                            height: 100%;
                            transform: translateX(50%) skew(0) scaleX(0);
                            position: absolute;
                            top: 0;
                            right: 50%;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .vertical-tab .nav-tabs li.active a:before,
                        .vertical-tab .nav-tabs li a:hover:before{
                            box-shadow: 0 0 10px #fff inset;
                            transform: translateX(50%) skew(40deg) scale(1);
                        }
                        .vertical-tab .tab-content{
                            color: #fff;
                            background-color: var(--bg_color);
                            font-size: 14px;
                            line-height: 25px;
                            margin-top: 10px;
                            padding: 10px 15px;
                            border: 5px solid var(--bd_color);
                            box-shadow: 0 0 0 3px #fff inset;
                            border-radius: 0;
                            display: table-cell;
                            position: relative;
                        }
                        .vertical-tab .tab-content h3{
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            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{ width: calc(100% - 5px); }
                            .vertical-tab .tab-content h3{ font-size: 18px; }
                        }
                    

JavaScript

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