Google News
logo
Material Design - Interview Questions
What is materialize parallax?
Material Design Parallax is an effect where the background content or image in this case, is moved at a different speed than the foreground content while scrolling.
 
Parallax Structure :
 
<div class="parallax-container">
    <div class="parallax">
    	<img src="../images/parallax_img.jpg" class="responsive-img" alt="Parallax">
    </div>
</div>
 
jQuery Initialization :
 
$(document).ready(function(){
    $('.parallax').parallax();
});
Advertisement