xxxxxxxxxx
1
<div class="container my-5 px-5 pt-5 pb-4 z-depth-1">
2
3
4
<!--Section: Content-->
5
<section class="dark-grey-text">
6
7
<style>
8
.d-grid {
9
display: grid;
10
grid-template-columns: repeat(2, 1fr);
11
grid-auto-rows: 100px;
12
grid-gap: 7px;
13
}
14
15
.item {
16
position: relative;
17
}
18
19
.item:nth-child(1) {
20
grid-column: 1 / 2;
21
grid-row: 1 / 4;
22
}
23
24
.item:nth-child(2) {
25
grid-column: 2;
26
grid-row: 0 / 3;
27
}
28
29
.item:nth-child(3) {
30
grid-column: 2;
31
grid-row: 2 / 3;
32
}
33
34
.item:nth-child(4) {
35
grid-column: 2;
36
grid-row: 3 / 3;
37
}
38
39
.item a {
40
position: absolute;
41
left: 0;
42
right: 0;
43
bottom: 0;
44
top: 0;
45
overflow: hidden;
46
}
47
48
.item img {
49
height: 100%;
50
width: 100%;
51
object-fit: cover;
52
}
53
</style>
54
55
<div class="row align-items-center">
56
57
<div class="col-lg-6 mb-4">
58
<h2 class="font-weight-normal mb-4">Lovely place to work</h2>
59
<p class="lead text-muted">Beautifully designed by best interior designers for the best web designers</p>
60
<p class="text-muted">We can combine beautiful, modern designs with clean, functional. And best of all, we
61
are super passionate
62
about our work. Thought does cognitive into follow and rationale annoyed.</p>
63
</div>
64
65
<div class="col-lg-6 mb-4">
66
67
<div id="mdb-lightbox-ui"></div>
68
69
<div class="d-grid mdb-lightbox">
70
<figure class="item">
71
<a href="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(10).jpg"
72
class="z-depth-1 rounded" data-size="1600x1067">
73
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(10).jpg" />
74
</a>
75
</figure>
76
<figure class="item">
77
<a href="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(11).jpg"
78
class="z-depth-1 rounded" data-size="1600x1067">
79
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(11).jpg" />
80
</a>
81
</figure>
82
<figure class="item">
83
<a href="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(12).jpg"
84
class="z-depth-1 rounded" data-size="1600x1067">
85
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(12).jpg" />
86
</a>
87
</figure>
88
<figure class="item">
89
<a href="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(13).jpg"
90
class="z-depth-1 rounded" data-size="1600x1067">
91
<img src="https://mdbootstrap.com/img/Photos/Horizontal/Architecture/12-col/img%20(13).jpg" />
92
</a>
93
</figure>
94
</div>
95
96
</div>
97
98
</div>
99
100
</section>
101
<!--Section: Content-->
102
103
104
</div>
1
1
xxxxxxxxxx
1
$(function () {
2
$("#mdb-lightbox-ui").load("https://mdbootstrap.com/wp-content/themes/mdbootstrap4/mdb-addons/mdb-lightbox-ui.html");
3
});
Console errors: 0