"Screen a:hover"
Bootstrap 4.1.1 Snippet by yui.napassorn

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 ---------->
<div class="container">
<div class="row no-gutters">
<div class="col-xl-4">
<div class="box-img">
<figure><img class="bg-img"/>
<div class="actions">
<div class="style-text">
<h2>Travel to Thailand</h2>
</div>
</div>
</figure>
</div>
</div>
<div class="col-xl-4">
<div class="box-img">
<figure><img class="bg-img"/>
<div class="actions">
<div class="style-text">
<h2>Travel to Thailand</h2>
</div>
</div>
</figure>
</div>
</div>
<div class="col-xl-4">
<div class="box-img">
<figure><img class="bg-img"/>
<div class="actions">
<div class="style-text">
<h2>Travel to Thailand</h2>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
h2{
font-weight:bold;
font-style:normal;
font-stretch:normal;
line-height:normal;
letter-spacing:0.3px;
text-align:left;
font-size:14px
}
@media only screen and (min-width:400px){h2{font-size:14px}}
@media only screen and (min-width:576){h2{font-size:16px}}
@media only screen and (min-width:768){h2{font-size:18px}}
@media only screen and (min-width:1200px){h2{font-size:20px}}
.container{
padding:10%
}
.container .bg-img{
width:100%;
height:236px;
background:#cdb464
}
.container .box-img{
width:100%;
padding:2%;
-o-object-fit:contain;
object-fit:contain;
mix-blend-mode:undefined;
cursor:pointer;
vertical-align:top;
margin-right:30px;
margin-bottom:-14px;
float:left
}
.container .box-img figure{
position:relative;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: