"Thumbnail Caption Hover Effect"
Bootstrap 2.3.2 Snippet by rosslynhouse

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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 class="container"> <div class="row"> <h3>Layout One</h3> <div class="span3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> </div><!--.caption--> <a href="#" class=""> <img src="http://placebox.es/300/200/DDE15C/" alt=""> </a> </div><!--.thumbnail--> </div><!--.span3--> <div class="span3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> </div><!--.caption--> <a href="#" class=""> <img src="http://placebox.es/300/200/DDE15C/" alt=""> </a> </div><!--.thumbnail--> </div><!--.span3--> <div class="span3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> </div><!--.caption--> <a href="#" class=""> <img src="http://placebox.es/300/200/DDE15C/" alt=""> </a> </div><!--.thumbnail--> </div><!--.span3--> <div class="span3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> </div><!--.caption--> <a href="#" class=""> <img src="http://placebox.es/300/200/DDE15C/" alt=""> </a> </div><!--.thumbnail--> </div><!--.span3--> </div><!--.row-fluid--> </div><!--.container-->
body { padding-top: 50px; } .thumbnail { position:relative; overflow:hidden; } .caption { position:absolute; bottom:50px; right:4; background:rgba(66, 139, 202, 0.75); width:90.5%; height:30%; padding:0%; margin-right:4px; display: none; text-align:left; color:#fff !important; z-index:2; } .caption h4 { line-height:4px; }
$( document ).ready(function() { $("[rel='tooltip']").tooltip(); $('.thumbnail').hover( function(){ $(this).find('.caption').slideDown(250); //.fadeIn(250) }, function(){ $(this).find('.caption').slideUp(250); //.fadeOut(205) } ); });

Related: See More


Questions / Comments: