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
"Carousel Side-Caption"
Bootstrap 3.1.0 Snippet by
Geniusone
3.1.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
743
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <div class="col-sm-8"> <img class="img-responsive" src="http://placehold.it/1000x400" alt="..."> </div> <div class="col-sm-4"> <div class="carousel-caption"> <h2>Slide 1</h2> </div> </div> </div> <div class="item"> <div class="col-sm-8"> <img class="img-responsive" src="http://placehold.it/1000x400" alt="..."> </div> <div class="col-sm-4"> <div class="carousel-caption"> <h2>Slide 2</h2> </div> </div> </div> </div> <div class="controllers col-sm-8 col-xs-12"> <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#carousel-example-generic" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> <div class="controllers col-sm-8 col-xs-12"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> </div> </div>
.carousel { position: relative; } .controllers { position: absolute; top: 50px; } .carousel-caption { left: 20%; right: 20%; padding-bottom: 30px; } .carousel-control.left, .carousel-control.right { background-image: none; } .carousel-caption { position: relative; left: 0; right: 0; bottom: 0; z-index: 10; padding-top: 0; padding-bottom: 0; color: #000; text-align: center; text-shadow: none; //text-shadow: 0 1px 2px rgba(0,0,0,.6); }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76