here is the code sample I am working on. I need to add a parallax scroll effect to the background image. I tried background-attachment: fixed, but this is just a fixed background. I want to add some transform or zoom effect as usually parallax have.
<body>
<nav>
<ul>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
</ul>
</nav>
<div class="bg-image"><!-- this div have background-image set and needs to be parallax -->
<div class="content"> <!-- This is the normal content that needs to be over background image -->
</div>
</div>
<div class="bg-image"><!-- this div have background-image set and needs to be parallax -->
<div class="content"> <!-- This is the normal content that needs to be over background image -->
</div>
</div></body>