"Thumbnail Caption Hover Effect"
Bootstrap 3.0.0 Snippet by kariefury

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 class="container"> <div class="row"> <div class="col-md-3"> <div class="thumbnail"> <div class="caption"> <h1>Table White Metal</h1> <!-- <p>short thumbnail description</p> --> <p><a href="" class="label label-danger" rel="tooltip" title="Zoom">Zoom</a> <a href="" class="label label-default" rel="tooltip" title="Download now">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/1/" alt="..."> <p><a href="" class="label label-danger" rel="tooltip" title="Zoom">Zoom</a> <a href="" class="label label-default" rel="tooltip" title="Download now">Download</a></p> </div> </div> <div class="col-md-3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> <!-- <p><a href="" class="label label-danger" rel="tooltip" title="Zoom">Zoom</a> <a href="" class="label label-default" rel="tooltip" title="Download now">Download</a></p> --> </div> <img src="http://lorempixel.com/400/300/sports/2/" alt="..."> </div> </div> <div class="col-md-3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> <p><a href="" class="label label-danger" rel="tooltip" title="Zoom">Zoom</a> <a href="" class="label label-default" rel="tooltip" title="Download now">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/3/" alt="..."> </div> </div> <div class="col-md-3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> <p><a href="" class="label label-danger" rel="tooltip" title="Zoom">Zoom</a> <a href="" class="label label-default" rel="tooltip" title="Download now">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/4/" alt="..."> </div> </div> </div> </div><!-- /.container -->
body { padding-top: 50px; } .thumbnail { position:relative; overflow:hidden; } .caption { position:absolute; top:0; right:0; background:rgba(256, 256, 256,1); width:100%; height:100%; padding:2%; text-align:center; color: black; z-index:2; }
$( document ).ready(function() { $("[rel='tooltip']").tooltip(); $('.thumbnail').hover( function(){ $(this).find('.caption').fadeOut(205); }, function(){ $(this).find('.caption').fadeIn(250); } ); });

Related: See More


Questions / Comments: