"Type or Theme"
Bootstrap 4.1.1 Snippet by divyalahad

<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


Questions / Comments: