Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Pixel Recommended Classes"
Bootstrap 3.1.0 Snippet by
andrewbsc
3.1.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
626
 
0 Fav
Post to Facebook
Tweet this
<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-3"> <div class="thumbnail"> <div class="caption"> <h4>Thumbnail Headline</h4> <p>short thumbnail description</p> </div> <img src="http://lorempixel.com/400/300/sports/1/" 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">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-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-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 -->
body { padding-top: 50px; } .thumbnail { position:relative; overflow:hidden; } .caption { position:absolute; top:50%; right:100%; background:rgba(66, 139, 202, 0.75); width:100%; height:50%; 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:50%; right: 0%; }
Related:
See More
Template
Vue Now UI Dashboard PRO
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76