Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Untitled"
Bootstrap 4.1.1 Snippet by
Pushpender
4.1.1
Preview
HTML
View Full Screen
Fork
Fork this
1.3K
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <div class="container"> <div class="row"> <div class="col-md-12"> <h2>tab with crousel</h2> </div> <div class="col-xs-12 "> <nav> <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist"> <a class="nav-item nav-link active" id="nav-home-tab" data-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true">Home</a> <a class="nav-item nav-link" id="nav-profile-tab" data-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false">Profile</a> <a class="nav-item nav-link" id="nav-contact-tab" data-toggle="tab" href="#nav-contact" role="tab" aria-controls="nav-contact" aria-selected="false">Contact</a> </div> </nav> <div class="tab-content py-3 px-3 px-sm-0" id="nav-tabContent"> <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab"> <div id="demo" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ul class="carousel-indicators"> <li data-target="#demo" data-slide-to="0" class="active"></li> <li data-target="#demo" data-slide-to="1"></li> <li data-target="#demo" data-slide-to="2"></li> </ul> <!-- The slideshow --> <div class="carousel-inner"> <div class="carousel-item active"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> <div class="carousel-item"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> <div class="carousel-item"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> </div> <!-- Left and right controls --> <a class="carousel-control-prev" href="#demo" data-slide="prev"> <span class="carousel-control-prev-icon"></span> </a> <a class="carousel-control-next" href="#demo" data-slide="next"> <span class="carousel-control-next-icon"></span> </a> </div> </div> <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab"> <div id="demo-t" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ul class="carousel-indicators"> <li data-target="#demo-t" data-slide-to="0" class="active"></li> <li data-target="#demo-t" data-slide-to="1"></li> <li data-target="#demo-t" data-slide-to="2"></li> </ul> <!-- The slideshow --> <div class="carousel-inner"> <div class="carousel-item active"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> <div class="carousel-item"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> <div class="carousel-item"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> </div> <!-- Left and right controls --> <a class="carousel-control-prev" href="#demo-t" data-slide="prev"> <span class="carousel-control-prev-icon"></span> </a> <a class="carousel-control-next" href="#demo-t" data-slide="next"> <span class="carousel-control-next-icon"></span> </a> </div> </div> <div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab"> <div id="demo-y" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ul class="carousel-indicators"> <li data-target="#demo-y" data-slide-to="0" class="active"></li> <li data-target="#demo-y" data-slide-to="1"></li> <li data-target="#demo-y" data-slide-to="2"></li> </ul> <!-- The slideshow --> <div class="carousel-inner"> <div class="carousel-item active"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> <div class="carousel-item"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> <div class="carousel-item"> <div class="row"> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> <div class="col-md-3 box"> <img src="la.jpg" alt="Los Angeles" width="1100" height="500"> </div> </div> </div> </div> <!-- Left and right controls --> <a class="carousel-control-prev" href="#demo-y" data-slide="prev"> <span class="carousel-control-prev-icon"></span> </a> <a class="carousel-control-next" href="#demo-y" data-slide="next"> <span class="carousel-control-next-icon"></span> </a> </div> </div> </div> </div> </div> </div>
Related:
See More
Template
Gaia Bootstrap Template Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76