"TEST: FORKED:Slidy Panel Footer"
Bootstrap 3.1.0 Snippet by mrmccormack

<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 class="container"> <div class="row"> <div class="col-md-2 col-sm-6 col-xs-6"> <div class="panel panel-default"> <div class="panel-body"> <h2>Hover me</h2> <p>I will show the footer panel</p> </div> <div class="panel-footer">Panel footer</div> </div> </div> <div class="col-md-2 col-sm-6 col-xs-6"> <div class="panel panel-default"> <div class="panel-body"> <h2>Hover me</h2> <p>I will show the footer panel with a Badge</p> </div> <div class="panel-footer"><a href="#"><span class="badge">42</span></a></div> </div> </div> </div> </div>
.panel-default{ text-align:center; cursor:pointer; font-family: 'Raleway',sans-serif; } .panel-default > .panel-footer { color: #fff; background-color: #47c8ed; display:none; text-shadow: 1px 1px 1px rgba(150, 150, 150, 1); } .panel-default i{ font-size: 5em; }
$(function(){ $('.panel').hover(function(){ $(this).find('.panel-footer').slideDown(250); },function(){ $(this).find('.panel-footer').slideUp(250); //.fadeOut(205) }); })

Related: See More


Questions / Comments: