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
"Pixels Box Banners"
Bootstrap 3.3.0 Snippet by
andrewbsc
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.9K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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-4 col-sm-6"> <div class="box"> <img src="images/img-1.jpg" alt=""> <div class="box-content"> <h3 class="title">Web Developer</h3><br> <h6>Lorem ipsum about Web Developers dolor simmit illit... </h6> <a href="#" class="read">Read More</a> </div> </div> </div> </div> </div>
.box{ position: relative; overflow: hidden; } .box img{ width: 100%; height: auto; transform: translateY(0); transition: transform 0.30s ease 0s; } .box:hover img{ transform: translateY(-10%); } .box-content{ position: absolute; bottom: 0; width: 100%; padding: 25px; background: #333; transform: translateY(100%); transition: all 0.30s ease 0s; } .box:hover .box-content{ transform: translateY(0); } .box-content .title{ color: #fff; margin: 0; padding: 0; display:inline-block; text-transform: capitalize; } .box-content .read{ float: right; display: inline-block; width: 100px; height: 30px; line-height: 30px; color: #fff; text-align: center; background: #1dcfd1; } .box-content .read:hover{ text-decoration: none; } @media only screen and (max-width: 990px){ .box{ margin-bottom: 20px; } } @media only screen and (max-width: 359px){ .box-content .title{ font-size: 19px; } .box-content .read{ width: 85px; } }
Related:
See More
Free Template
Material Dashboard Dark Edition
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76