vertical tab style : demo 8

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;
                         position: relative;
                      }
                      .vertical-tab .nav-tabs li{
                         float: none;
                         vertical-align: top;
                      }

                      .vertical-tab .nav-tabs li a{
                          display: block;
                          padding: 10px 20px;
                          margin: 0 3px 10px 0;
                          border-radius: 5px;
                          border: none;
                          font-size: 18px;
                          font-weight: 600;
                          color: #fff;
                          text-transform: uppercase;
                          text-align: center;
                          background-color: #b3b3b3;
                          transform: perspective(400px) rotateY(-40deg);
                          position: relative;
                          z-index: 1;
                          transition: all 0.5s ease 0s;
                      }
                      .vertical-tab .nav-tabs li:last-child a{ margin-bottom: 0; }
                      .vertical-tab .nav-tabs li a:hover,
                      .vertical-tab .nav-tabs li.active a,
                      .vertical-tab .nav-tabs li.active a:hover{
                          color: #fff;
                          background: rgb(3, 56, 117);
                          border:none;
                          box-shadow: 0 2px 2px rgba(3, 56, 117, 0.5);
                          transform: perspective(400px) rotateY(0deg);
                      }
                      .vertical-tab .tab-content{
                         display: table-cell;
                         padding: 10px 20px;
                         background: #ec3169;
                         border: 4px dashed #fff;
                         vertical-align: top;
                         font-size: 15px;
                         color: #fff;
                         line-height: 27px;
                         letter-spacing: 1px;
                         margin-top: 10px;
                      }
                      .vertical-tab .tab-content h3{
                          font-size: 24px;
                          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 10px 0; }
                          .vertical-tab .nav-tabs li:last-child{ margin: 0; }
                          .vertical-tab .nav-tabs li a{
                              padding: 10px;
                              margin: 0;
                              transform: perspective(800px) rotateY(-40deg);
                          }
                          .vertical-tab .tab-content{
                              display: block;
                              padding: 20px 15px 5px;
                              border-radius: 0 0 10px 10px;
                          }
                          .vertical-tab .tab-content h3{ font-size: 18px; }
                      }
                    

JavaScript

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