"tab section"
Bootstrap 4.1.1 Snippet by Shivamsemisetia

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <section class="services-sec"> <div class="vertical-tab-menu"> <nav> <div class="nav nav-tabs" id="myTab" role="tablist"> <a class="nav-item nav-link active" id="nav-home-tab" data-bs-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true"> <span><img src="assets/images/p_3.jpeg" alt=""> </span> Kitchen </a> <a class="nav-item nav-link" id="nav-profile-tab" data-bs-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false" tabindex="-1"> <span><img src="assets/images/p_4.jpeg" alt=""> </span> Bathroom </a> <a class="nav-item nav-link" id="nav-contact-tab" data-bs-toggle="tab" href="#nav-contact" role="tab" aria-controls="nav-contact" aria-selected="false" tabindex="-1"> <span><img src="assets/images/p_5.jpeg" alt=""> </span> Basement </a> <a class="nav-item nav-link" id="nav-menu-tab" data-bs-toggle="tab" href="#nav-menu" role="tab" aria-controls="nav-menu" aria-selected="false" tabindex="-1"> <span><img src="assets/images/p_6.jpeg" alt=""> </span> Interior </a> <a class="nav-item nav-link" id="nav-menu2-tab" data-bs-toggle="tab" href="#nav-menu2" role="tab" aria-controls="nav-menu2" aria-selected="false" tabindex="-1"> <span><img src="assets/images/p_7.jpeg" alt=""> </span> Exteriors </a> </div> </nav> <div class="tab-content" id="nav-tabContent"> <div class="tab-pane fade active show" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab"> <div class="service-outer service_img_1"> <div class="row align-items-center h-100 justify-content-end"> <div class="col-md-5"> <div class="ser_text"> <span>Our Services</span> <h2>Kitchen Remodeling</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text</p> <a href="#" class="common-btn white-btn">Read More</a> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab"> <div class="service-outer service_img_2"> <div class="row align-items-center h-100 justify-content-end"> <div class="col-md-5"> <div class="ser_text"> <span>Our Services</span> <h2>Bathroom Remodeling</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text</p> <a href="#" class="common-btn white-btn">Read More</a> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab"> <div class="service-outer service_img_3"> <div class="row align-items-center h-100 justify-content-end"> <div class="col-md-5"> <div class="ser_text"> <span>Our Services</span> <h2>Basement Remodeling</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text</p> <a href="#" class="common-btn white-btn">Read More</a> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="nav-menu" role="tabpanel" aria-labelledby="nav-menu-tab"> <div class="service-outer service_img_4"> <div class="row align-items-center h-100 justify-content-end"> <div class="col-md-5"> <div class="ser_text"> <span>Our Services</span> <h2>Interior Remodeling</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text</p> <a href="#" class="common-btn white-btn">Read More</a> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="nav-menu2" role="tabpanel" aria-labelledby="nav-menu2-tab"> <div class="service-outer service_img_5"> <div class="row align-items-center h-100 justify-content-end"> <div class="col-md-5"> <div class="ser_text"> <span>Our Services</span> <h2>Exteriors Remodeling</h2> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the industry's standard dummy text</p> <a href="#" class="common-btn white-btn">Read More</a> </div> </div> </div> </div> </div> </div> </div> </section>
.services-sec { position: relative; background: #222; padding: 0; } .services-sec .nav-tabs { justify-content: center; border: 0; } .services-sec .nav-tabs a { border: 0 !important; position: relative; padding: 0; text-align: center; margin-right: 0px; font-size: 20px; color: #fff; margin: 0 !important; padding: 20px 0; border-radius: 0 !important; justify-content: center; background: rgb(93 103 123 / 75%) !important; border-bottom:1px solid rgba(0,0,0,0.2) !important; position: relative; } .arrow_box { position: relative; background: #c8a96a; } .services-sec .nav-tabs a.active:after { left: 100%; top: 50%; border: solid transparent; content: ""; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(136, 183, 213, 0); border-left-color: #243973; border-width: 15px; margin-top: -15px; z-index:2; } .services-sec .nav-tabs a.active{ color: #fff; background: #243973 !important; } .ser_text { padding:30px; } .ser_text { max-width: 500px; background: rgb(36 57 115 / 76%); } .ser_text h2 { color: #fff; font-size: 36px; font-weight: 500; } .ser_text p { color: #fff; font-size: 16px; } .ser_text span { font-size: 25px; color: #fff; font-weight: 600; } .ser_text a { display: inline-block; } .services-sec .nav-tabs a span { display: flex; align-content: center; justify-content: center; border-radius: 50%; flex-wrap: wrap; position: relative; } .services-sec .nav-tabs a span img { width: 75px; height: 75px; margin-bottom: 5px; object-fit: cover; border-radius: 100px; border: 6px solid #243973; } .services-sec .nav-tabs a.active span img{ border: 6px solid #FFF; } .services-sec .nav-tabs a.active img { opacity: 1; } .services-sec .nav-tabs a:last-child { margin-right: 0; } .menu-item { position: relative; padding: 15px 0; padding-right: 90px; border-bottom: 1px dotted #ddd; } .menu-item h4 { margin-bottom: 0; color: #fff; font-size: 22px; } .menu-item p { margin-bottom: 0; font-size: 16px; margin-top: 10px; color: #fff; } .price-item { position: absolute; right: 0; top: 10px; font-size: 24px; color: #f53647; font-weight: 600; } .menu-item:nth-last-child(1) { border: 0; } .menu-btn { display: flex; align-content: center; } .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{ background: none; } .vertical-tab-menu { display: flex; flex-wrap: wrap; width: 100%; position: relative; height: 740px; } .services-sec nav { width: 220px; position: absolute; z-index: 99; left: 0; top: 0; height: 100%; } .vertical-tab-menu .tab-content{ width: 100%; height:auto; } .vertical-tab-menu .tab-pane { height: 100%; } .vertical-tab-menu .service-outer { height: 100%; } .service-outer{ background-size: cover; background-repeat: no-repeat; background-position: center center; position: relative; z-index: 1; padding: 80px; background-attachment: fixed; } .service_img_1 { background-image: url(../../assets/images/p_3.jpeg); } .service_img_2 { background-image: url(../../assets/images/p_4.jpeg); } .service_img_3 { background-image: url(../../assets/images/p_5.jpeg); } .service_img_4 { background-image: url(../../assets/images/p_6.jpeg); } .service_img_5 { background-image: url(../../assets/images/p_7.jpeg); } .services-sec .nav-tabs a{ width: 100%; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; margin: 10px 0; } .services-sec .nav-tabs a span{ width: 100%; height: auto ; margin-right: 10px; } .active-img { position: absolute; left: 50%; transform: translate(-50% , -50%); top: 50%; opacity: 0; } .services-sec .nav-tabs a.active .active-img { opacity: 0; }

Related: See More


Questions / Comments: