"hover effect text"
Bootstrap 3.1.0 Snippet by thavaselvam

<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"> <h2>Caption hover effect </h2> <p>Image caption with a text previewed in the bottom</p> <p>Width size doesn´t matter</p> </div> <div class="row"> <div class="col-lg-3"> <div class="cuadro_intro_hover " style="background-color:#cccccc;"> <p style="text-align:center; margin-top:20px;"> <img src="http://trovacamporella.com/img/trovacamporella-fiat500.png" class="img-responsive" alt=""> </p> <div class="caption"> <div class="blur"></div> <div class="caption-text"> <h3 style="border-top:2px solid white; border-bottom:2px solid white; padding:10px;">THIS IS H3</h3> <p>Loren ipsum dolor si amet ipsum dolor si amet ipsum dolor...</p> <a class=" btn btn-default" href="http://trovacamporella.com"><span class="glyphicon glyphicon-plus"> INFO</span></a> </div> </div> </div> </div> <div class="col-lg-3"> <div class="cuadro_intro_hover " style="background-color:#cccccc;"> <p style="text-align:center; margin-top:20px;"> <img src="http://placehold.it/500x330" class="img-responsive" alt=""> </p> <div class="caption"> <div class="blur"></div> <div class="caption-text"> <h3 style="border-top:2px solid white; border-bottom:2px solid white; padding:10px;">THIS IS H3</h3> <p>Loren ipsum dolor si amet ipsum dolor si amet ipsum dolor...</p> <a class=" btn btn-default" href="http://mispicaderos.com"><span class="glyphicon glyphicon-plus"> INFO</span></a> </div> </div> </div> </div> <div class="col-lg-3"> <div class="cuadro_intro_hover " style="background-color:#cccccc;"> <p style="text-align:center; margin-top:20px;"> <img src="http://placehold.it/300x330" class="img-responsive" alt=""> </p> <div class="caption"> <div class="blur"></div> <div class="caption-text"> <h3 style="border-top:2px solid white; border-bottom:2px solid white; padding:10px;">THIS IS H3</h3> <p>Loren ipsum dolor si amet ipsum dolor si amet ipsum dolor...</p> <a class=" btn btn-default" href="http://mispicaderos.com"><span class="glyphicon glyphicon-plus"> INFO</span></a> </div> </div> </div> </div> <div class="col-lg-3"> <div class="cuadro_intro_hover " style="background-color:#cccccc;"> <p style="text-align:center; margin-top:20px;"> <img src="http://placehold.it/1000x330" class="img-responsive" alt=""> </p> <div class="caption"> <div class="blur"></div> <div class="caption-text"> <h3 style="border-top:2px solid white; border-bottom:2px solid white; padding:10px;">THIS IS H3</h3> <p>Loren ipsum dolor si amet ipsum dolor si amet ipsum dolor...</p> <a class=" btn btn-default" href="http://placesforlove.com"><span class="glyphicon glyphicon-plus"> INFO</span></a> </div> </div> </div> </div> </div> </div> </div> <!----second---> <div class="container"> <div class="row"> <div class="col-xs-6 col-sm-4 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">Zoom</a> <a href="" class="label label-default">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/1/" alt="..."> </div> </div> <div class="col-xs-6 col-sm-4 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">Zoom</a> <a href="" class="label label-default">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/2/" alt="..."> </div> </div> <div class="col-xs-6 col-sm-4 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">Zoom</a> <a href="" class="label label-default">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/3/" alt="..."> </div> </div> <div class="col-xs-6 col-sm-4 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">Zoom</a> <a href="" class="label label-default">Download</a></p> </div> <img src="http://lorempixel.com/400/300/sports/4/" alt="..."> </div> </div> </div> <div class="row"> <div class="col-xs-12 text-center"> Original <a href="http://bootsnipp.com/snippets/featured/thumbnail-caption-hover-effect">Thumbnail Caption Hover Effect</a> by <a href="http://bootsnipp.com/sevenx.de">sevenx.de</a> </div> </div> </div><!-- /.container -->
.cuadro_intro_hover{ padding: 0px; position: relative; overflow: hidden; height: 200px; } .cuadro_intro_hover:hover .caption{ opacity: 1; transform: translateY(-150px); -webkit-transform:translateY(-150px); -moz-transform:translateY(-150px); -ms-transform:translateY(-150px); -o-transform:translateY(-150px); } .cuadro_intro_hover img{ z-index: 4; } .cuadro_intro_hover .caption{ position: absolute; top:150px; -webkit-transition:all 0.3s ease-in-out; -moz-transition:all 0.3s ease-in-out; -o-transition:all 0.3s ease-in-out; -ms-transition:all 0.3s ease-in-out; transition:all 0.3s ease-in-out; width: 100%; } .cuadro_intro_hover .blur{ background-color: rgba(0,0,0,0.7); height: 300px; z-index: 5; position: absolute; width: 100%; } .cuadro_intro_hover .caption-text{ z-index: 10; color: #fff; position: absolute; height: 300px; text-align: center; top:-20px; width: 100%; } /*-----*/ body { padding-top: 50px; } .thumbnail { position:relative; overflow:hidden; } .caption { position:absolute; top:-100%; right:0; background:rgba(66, 139, 202, 0.75); width:100%; height:100%; padding:2%; text-align:center; color:#fff !important; z-index:2; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } .thumbnail:hover .caption { top:0%; }

Related: See More


Questions / Comments: