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, mi eros viverra massa.
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, mi eros viverra massa.
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, mi eros viverra massa.
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, mi eros viverra massa.
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, mi eros viverra massa.
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, mi eros viverra massa.
a:hover, a:focus{ text-decoration: none; outline: none; } .vertical-tab{ font-family: 'Montserrat', sans-serif; display: table; } .vertical-tab .nav-tabs{ width: 25%; min-width: 25%; border: none; vertical-align: top; display: table-cell; } .vertical-tab .nav-tabs li{ float: none; } .vertical-tab .nav-tabs li a{ color: #333; background: #ccc; font-size: 18px; font-weight: 600; letter-spacing: 0.5px; text-transform: capitalize; text-align: center; padding: 10px 7px 7px; margin: 0 10px 10px 0; border-radius: 0; border: 4px solid transparent; overflow: hidden; position: relative; z-index: 1; transition: all 0.4s ease 0.3s; } .vertical-tab .nav-tabs li a:hover, .vertical-tab .nav-tabs li.active a, .vertical-tab .nav-tabs li.active a:hover{ color: #c0392b; background: transparent; border: 4px solid #c0392b; border-right-color: #27ae60; border-bottom-color: #8e44ad; border-left-color: #2980b9; } .vertical-tab .nav-tabs li a:before{ content: ''; background: linear-gradient(#c0392b,#c0392b 25%,#27ae60 25%,#27ae60 50%,#8e44ad 50%,#8e44ad 75%,#2980b9 75%,#2980b9 100%); height: 0; width: 100%; position: absolute; left: 0; top: 0; z-index: -1; transition: height 0.3s ease 0s,top 0.3s ease 0.3s; } .vertical-tab .nav-tabs li a:hover:before, .vertical-tab .nav-tabs li.active a:before, .vertical-tab .nav-tabs li.active a:hover:before{ height: 100%; top: 100%; } .vertical-tab .tab-content{ color: #555; font-size: 14px; font-weight: 400; letter-spacing: 0.5px; line-height: 21px; padding: 15px 15px 15px 20px; border: 10px solid #c0392b; border-right-color: #27ae60; border-bottom-color: #8e44ad; border-left-color: #2980b9; display: table-cell; } .vertical-tab .tab-content h3{ color: #333; font-size: 20px; font-weight: 600; text-transform: uppercase; margin: 0 0 7px; } @media only screen and (max-width: 479px){ .vertical-tab .nav-tabs{ width: 100%; display: block; } .vertical-tab .nav-tabs li a{ padding: 10px 10px 9px; margin: 0 0 12px; } .vertical-tab .tab-content{ font-size: 14px; padding: 15px; display: block; } }