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
"Type or Theme"
Bootstrap 4.1.1 Snippet by
divyalahad
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
1.3K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-3.2.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="main"> <div class="box"> <img src="https://www.indior.tours/images/JAI%20Abhaneri%20Step%20Well.jpg" /> <div class="overlay"> </div> <a class="more" href="#name">Let's Explore</a> </div> <div class="box"> <img src="https://www.indior.tours/images/Sheesh-Mahal-overlooking-Lake-Pichola.jpg" /> <div class="overlay"> </div> <a href="#">Let's Explore</a> </div> <div class="box"> <img src="https://www.indior.tours/images/india_travel_agra_palace_taj_mahal-indior-tours.jpg" /> <div class="overlay"> </div> <a href="#">Let's Explore</a> </div> <div class="box"> <img src="https://www.indior.tours/images/Nepal%20Himalaya%20Kingdom%203.jpg" /> <div class="overlay"> </div> <a href="#">Let's Explore</a> </div> <div class="box"> <img src="https://www.indior.tours/images/707px_Tribals%20in%20Odisha.jpg" /> <div class="overlay"> </div> <a href="#">Let's Explore</a> </div> <div class="box"> <img src="https://www.indior.tours/images/kumbh-mela-allahabad-3.jpg" /> <div class="overlay"> </div> <a href="#">Let's Explore</a> </div> </div> </div>
.box{width:300px; height:250px; border:1px solid #000; border-radius:2px; float:left; margin:20px 30px; } .box img{width:300px; height:250px;} .box .overlay{width:300px; height:250px; background:#fff; margin:-250px 0px 0px 0px; opacity:0.5; } .box a{padding:5px 7px; border:1px solid #000; text-decoration:none; font-family:sans-serif; font-size:14px; margin:-140px 0px 0px 15px; display:inline-block; opacity:0; transition:all 0.5s ease-in-out; cursor: pointer;/* z-index: 10000; */position: absolute;} .box .overlay:hover{opacity:0.1; transition:all 0.5s ease-in-out; width:300px; margin-left:50px; float:right; } .box:hover{box-shadow:0px 0px 10px #6A6A6A; border:1px solid #00DFDF;transition:all 0.5s ease-in-out;} .box:hover a{opacity:1; background:#203989; color:#fc6600; margin:-40px 0px 0px 15px; border-radius:1px; } .box a:hover{border:1px solid #00DFDF;transition:all 0.5s ease-in-out; }
Related:
See More
Template
Vue Light Bootstrap Dashboard PRO
99.7K
128
Bootstrap form theme
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76