HTML
xxxxxxxxxx
1
<div
2
class="vh-100 parallax"
3
data-mdb-scale="1.3"
4
data-mdb-image-src="https://mdbootstrap.com/img/Photos/Slides/4.jpg"
5
data-mdb-delay="2"
6
data-mdb-horizontal-alignment="center"
7
8
>
9
<div class="parallax-content">
10
<div class="container">
11
<div class="row d-md-flex flex-wrap align-items-center">
12
<div class="col-lg-6 py-5">
13
<div class="p-3 card">
14
<h2 class="">I am visible</h2>
15
<p>because I'm a card. parallax should be horizontally centered</p>
16
<p><strong>Please check me on a wide screen!</strong> In standard fullscreen view the image should fill the whole horizontal space (even if smaller image)</p>
17
<p>The div below me is not visible. It is not a card.</p>
18
</div>
19
20
<div style="z-index:1 ">
21
<h2 class="">I am invisible :-(</h2>
22
</div>
23
</div>
24
</div>
25
</div>
26
</div>
27
</div>
28
CSS
1
1
JS
1
1
Console errors: 0