"Custom Post Style"
Bootstrap 4.1.1 Snippet by mhernan10

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">
<div class="post-container col-sm-4">
<div class="post">
<img src="https://cdn.pixabay.com/photo/2017/03/05/00/34/panorama-2117310_960_720.jpg" alt="image not available">
<div class="description-box">
<h2><i>Miami, Florida</i></h2>
<h3>Highlights of Miami</h3>
<p>10 nights from <b>₤2,699pp</b></p>
<hr>
<p>MULTI-CENTRE</p>
</div>
</div>
</div>
<div class="post-container col-sm-4">
<div class="post">
<img src="https://cdn.pixabay.com/photo/2014/05/02/23/46/new-york-city-336475_960_720.jpg" alt="image not available">
<div class="description-box">
<h2><i>Brooklyn, New York</i></h2>
<h3>Highlights of Brooklyn</h3>
<p>10 nights from <b>₤3,799pp</b></p>
<hr>
<p>MULTI-CENTRE</p>
</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
@import url('https://fonts.googleapis.com/css?family=Playfair+Display');
html {
font-size: 10px;
}
body {
font-size: 1.6rem;
background: #ccc;
padding-bottom: 200px;
}
.post-container {
padding: 0;
}
.post {
height: 450px;
padding: 0;
margin: 20px;
overflow: hidden;
background: #fff;
text-align: center;
border-bottom: solid #f15a24;
}
.post img {
display: block;
height: 60%;
}
.description-box {
padding: 10px;
}
.description-box > * {
margin-bottom: 15px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: