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
"mytemplate"
Bootstrap 3.2.0 Snippet by
Mikebraun
3.2.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
952
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="thumbnail-preview-indicators" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#thumbnail-preview-indicators" data-slide-to="0" class="active"> <div class="thumbnail"> <img class="img-responsive" src="https://s3.amazonaws.com/ooomf-com-files/wdXqHcTwSTmLuKOGz92L_Landscape.jpg"> </div> </li> <li data-target="#thumbnail-preview-indicators" data-slide-to="1"> <div class="thumbnail"> <img class="img-responsive" src="https://s3.amazonaws.com/ooomf-com-files/tU3ptNgGSP6U2fE67Gvy_SYDNEY-162.jpg"> </div> </li> <li data-target="#thumbnail-preview-indicators" data-slide-to="2"> <div class="thumbnail"> <img class="img-responsive" src="https://s3.amazonaws.com/ooomf-com-files/mtNrf7oxS4uSxTzMBWfQ_DSC_0043.jpg"> </div> </li> </ol> <div class="carousel-inner"> <div class="item slides active"> <div class="slide-1"></div> <div class="container"> <div class="carousel-caption"> <h1>New carousel layout</h1> <p>Responsive thumbnail preview in carousel indicators.</p> <p><a class="btn btn-lg btn-primary" href="#" role="button">Sign up today</a></p> </div> </div> </div> <div class="item slides"> <div class="slide-2"></div> <div class="container"> <div class="carousel-caption"> <h1>Another example headline.</h1> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> <p><a class="btn btn-lg btn-primary" href="#" role="button">Learn more</a></p> </div> </div> </div> <div class="item slides"> <div class="slide-3"></div> <div class="container"> <div class="carousel-caption"> <h1>One more for good measure.</h1> <p>Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a class="btn btn-lg btn-primary" href="#" role="button">Browse gallery</a></p> </div> </div> </div> </div> <a class="left carousel-control" href="#thumbnail-preview-indicators" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" href="#thumbnail-preview-indicators" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> </div>
/* ----------------------------------- Code snippet by @maridlcrmn Credits images: www.unsplash.com ----------------------------------- */ #thumbnail-preview-indicators { position: relative; overflow: hidden; } #thumbnail-preview-indicators .slides .slide-1, #thumbnail-preview-indicators .slides .slide-2, #thumbnail-preview-indicators .slides .slide-3 { background-size: cover; background-position: center center; background-repeat: no-repeat; } #thumbnail-preview-indicators, #thumbnail-preview-indicators .slides, #thumbnail-preview-indicators .slides .slide-1, #thumbnail-preview-indicators .slides .slide-2, #thumbnail-preview-indicators .slides .slide-3 { height: 480px; } #thumbnail-preview-indicators .slides .slide-1 { background-image: url(https://s3.amazonaws.com/ooomf-com-files/wdXqHcTwSTmLuKOGz92L_Landscape.jpg); } #thumbnail-preview-indicators .slides .slide-2 { background-image: url(https://s3.amazonaws.com/ooomf-com-files/tU3ptNgGSP6U2fE67Gvy_SYDNEY-162.jpg); } #thumbnail-preview-indicators .slides .slide-3 { background-image: url(https://s3.amazonaws.com/ooomf-com-files/mtNrf7oxS4uSxTzMBWfQ_DSC_0043.jpg); } #thumbnail-preview-indicators .carousel-inner .item .carousel-caption { top: 20%; bottom: inherit; } #thumbnail-preview-indicators .carousel-indicators li, #thumbnail-preview-indicators .carousel-indicators li.active { position: relative; width: 100px; height: 8px; } #thumbnail-preview-indicators .carousel-indicators li > .thumbnail { position: absolute; top: 0; width: 100px; display: none; opacity: 0; left: 50%; margin-top: -80px; margin-left: -50px; } #thumbnail-preview-indicators .carousel-indicators li:hover > .thumbnail, #thumbnail-preview-indicators .carousel-indicators li.active > .thumbnail { display: block; opacity: .8; } #thumbnail-preview-indicators .carousel-indicators li.active > .thumbnail:hover{ opacity: 1; } @media screen and (max-width : 480px) { #thumbnail-preview-indicators .carousel-indicators li, #thumbnail-preview-indicators .carousel-indicators li.active { width: 50px; height: 8px; position: relative; } #thumbnail-preview-indicators .carousel-indicators li > .thumbnail { width: 50px; left: 50%; margin-top: -50px; margin-left: -25px; } }
Related:
See More
Free Template
Now UI Dashboard
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76