"Thumbnail Caption Hover Effect BS 2"
Bootstrap 2.3.2 Snippet by Prasad

<div class="container"> <div class="span4"> <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/1/" alt="..."> </div> </div> </div> </div><!-- /.container -->
body { padding-top: 50px; } .thumbnail { position:relative; overflow:hidden; } .caption { position:absolute; top:0; right:0; background:rgba(66, 139, 202, 0.75); width:100%; height:100%; padding:2%; display: none; text-align:center; color:#fff !important; z-index:2; }
$( document ).ready(function() { $("[rel='tooltip']").tooltip(); $('.thumbnail').hover( function(){ $(this).find('.caption').slideDown(250); //.fadeIn(250) }, function(){ $(this).find('.caption').slideUp(250); //.fadeOut(205) } ); });

Similar snippets: See More


Comments:

josto111 2014-12-03 14:28:05
    Hi, i see this very usefull and nice :) can i ask how is possible change the direction of that slide
now is - from up - down
i want it down to up
??
thank you :) GJ
Karbonn 2014-12-11 21:14:53
    In CSS File, change top:0 to bottom:0
josto111 2014-12-13 09:20:47
    Thanks seriously :) ;)
dana 2015-03-27 16:27:49
    I can see the hover effect in my computer but when i upload to my web online I can't see it. Can you help me? By the way great job !!
mrjojomc 2016-09-20 21:44:34
    brilliant thanks

Commenting will be back soon.