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
"Cards Categories with Hover"
Bootstrap 3.2.0 Snippet by
olivierlabbe
3.2.0
hover
card
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
1.4K
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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"> <hr class="divider-title"> <div class="row"> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000006_230x230.jpg"> <figcaption> <span class="project-details">Mélamine Tafisa</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000568_230x230.jpg"> <figcaption> <span class="project-details">Bandes de chant en ABS / PVC</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000569_230x230.jpg"> <figcaption> <span class="project-details">Bandes de chant en polyester</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000571_230x230.jpg"> <figcaption> <span class="project-details">Bandes de chant en mélamine</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000572_230x230.jpg"> <figcaption> <span class="project-details">Bandes de chant en bois véritable</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000006_230x230.jpg"> <figcaption> <span class="project-details">Mélamine Tafisa</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000572_230x230.jpg"> <figcaption> <span class="project-details">Mélamine Tafisa</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000006_230x230.jpg"> <figcaption> <span class="project-details">Mélamine Tafisa</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000572_230x230.jpg"> <figcaption> <span class="project-details">Mélamine Tafisa</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2"> <div class="project"> <figure class="img-responsive"> <img src="http://dev.cybercat.ca/commonwealth/images/1000006_230x230.jpg"> <figcaption> <span class="project-details">Mélamine Tafisa</span> </figcaption> <span class="actions"> <button class="btn btn-danger bnt-action" type="submit" >Afficher</button> </span> </figure> </div> </div> </div> </div>
.divider-title{ border:1px solid #dddddd; } .project { margin-bottom: 30px; vertical-align: top; margin-right: 30px; float: left; cursor: pointer; width:100%; } .project figure { position: relative; display: inline-block; /*width: 283px; -moz-box-shadow: 0 3px 0 #e2e2e2,transparent 0 0 0; -webkit-box-shadow: 0 3px 0 #e2e2e2,transparent 0 0 0; box-shadow: 0 3px 0 #e2e2e2,transparent 0 0 0; -webkit-box-shadow: 0 3px 0 #e2e2e2; -moz-box-shadow: 0 3px 0 #e2e2e2; box-shadow: 0 3px 0 #e2e2e2;*/ } .project figure figcaption { position: relative; z-index: 10; padding: 8px 18px 11px; background: #eaeaea; -ms-transition: all .2s ease-out; -webkit-transition: all .2s ease-out; -moz-transition: all .2s ease-out; -o-transition: all .2s ease-out; transition: all .2s ease-out; text-align: center; color: #555; height:68px; } .project figure:hover .actions { opacity: 1; } .project figure .actions { display: block; position: absolute; bottom: 68px; top: 0; left:0; right:0; z-index: 1; opacity: 0; background-color: rgba(29,29,29,.7); -ms-transition: all .2s ease-out; -webkit-transition: all .2s ease-out; -moz-transition: all .2s ease-out; -o-transition: all .2s ease-out; transition: all .2s ease-out; border: 2px solid #d81e05; } .project figure img { border: 2px solid #eaeaea; width: 100%; } .btn-warning bnt-action{ margin: 0% 0% auto; } figcaption .project-details { display: block; font-size: 16px; /*line-height: 33px;*/ color: #000; /*height: 27px;*/ width: 100%; margin: 0 auto 5px auto; /*margin-bottom: 5px;*/ overflow: hidden; } .project figure:hover figcaption { background:#d81e05; } .project figure:hover figcaption .project-details { color: #fff; } figcaption .project-price { position: absolute; right: 15px; top: 12px; font-size: 22px; text-align: right; margin-top: 8px; letter-spacing: -1px; -webkit-font-smoothing: antialiased; } figcaption .project-creator { font-size: 13px; color: #545454; display: block; } figcaption .project-creator { font-size: 13px; color: #545454; display: block; } .project figure .actions button { padding: 13px 20px; font-size: 16px; top: 32%; position: absolute; left: 50%; width: 90%; margin-left: -45%; line-height: 18px; letter-spacing: 1px; } .row.is-flex { display: flex; flex-wrap: wrap; } .row.is-flex > [class*='col-'] { display: flex; flex-direction: column; } .is-flex .box { background: none; position: static; } .is-flex [class*="col-"] { background: #fff; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76