"Type or Theme"
Bootstrap 4.1.1 Snippet by divyalahad

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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" />
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.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; }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: