Mike Mike - 1 year ago 607
HTML Question

Parallax not working in materialize css

I am using the Materialize Framework to create a PhoneGap app.


They have a parallax setting which you can see their notation here:


When I run it, my image does not show up at all. My html looks like this:

<div class="row">
<div class="col s12 m7">
<div class="card">

<div class="parallax-container" style = "height:100px;">
<div class="parallax"><img src="/img.png"></div>

<div class="card-content">
<h5> test</h5>
<h6> test</h6>
<h6> test </h6>
<p> test</p>

<div class="card-action">
<a href="#">This is a link</a>


Answer Source

Look my example: http://jsfiddle.net/yhgj48tr/

Do not forget to initialize it:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download