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
"CarrouselItems"
Bootstrap 4.0.0 Snippet by
raven1789
4.0.0
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
954
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/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 ----------> <h5>Pedro pica piedra</h5> <div class="container"> <!-- main slider carousel --> <div class="row"> <div class="col-lg-8 offset-lg-2" id="slider"> <div id="myCarousel" class="carousel slide"> <!-- main slider carousel items --> <div class="carousel-inner"> <div class="active item carousel-item" data-slide-number="0"> <img src="http://placehold.it/1200x480&text=one" class="img-fluid"> </div> <div class="item carousel-item" data-slide-number="1"> <img src="http://placehold.it/1200x480/888/FFF" class="img-fluid"> </div> <div class="item carousel-item" data-slide-number="2"> <img src="http://placehold.it/1200x480&text=three" class="img-fluid"> </div> <div class="item carousel-item" data-slide-number="3"> <img src="http://placehold.it/1200x480&text=four" class="img-fluid"> </div> <div class="item carousel-item" data-slide-number="4"> <img src="http://placehold.it/1200x480&text=five" class="img-fluid"> </div> <a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> <!-- main slider carousel nav controls --> <ul class="carousel-indicators list-inline"> <li class="list-inline-item active"> <a id="carousel-selector-0" class="selected" data-slide-to="0" data-target="#myCarousel"> <img src="http://placehold.it/80x60&text=one" class="img-fluid"> </a> </li> <li class="list-inline-item"> <a id="carousel-selector-1" data-slide-to="1" data-target="#myCarousel"> <img src="http://placehold.it/80x60&text=two" class="img-fluid"> </a> </li> <li class="list-inline-item"> <a id="carousel-selector-2" data-slide-to="2" data-target="#myCarousel"> <img src="http://placehold.it/80x60&text=three" class="img-fluid"> </a> </li> <li class="list-inline-item"> <a id="carousel-selector-3" data-slide-to="3" data-target="#myCarousel"> <img src="http://placehold.it/80x60&text=four" class="img-fluid"> </a> </li> <li class="list-inline-item"> <a id="carousel-selector-4" data-slide-to="4" data-target="#myCarousel"> <img src="http://placehold.it/80x60&text=five" class="img-fluid"> </a> </li> </ul> </div> </div> </div> <!--/main slider carousel--> </div>
#myCarousel .list-inline { padding: 10px; white-space:nowrap; overflow-x:auto; } #myCarousel .carousel-indicators { position: static; left: initial; width: initial; margin-left: initial; } #myCarousel .carousel-indicators > li { width: initial; height: initial; text-indent: initial; } #myCarousel .carousel-indicators > li.active img { opacity: 0.7; padding: 5px; }
Related:
See More
Template
Paper Kit 2 PRO
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76