I’m using this plugin called curtain.js.
The height of each curtain is automatically set to window height.
What i want is for the curtain to have the height of the element.
This is the link of the plugin https://github.com/Victa/curtain.js
And to be more clear about the problem, my current output looks similar to this :
and the below is what i want to achieve :
See in the second link each curtain has a unique height which is the height of the section.
Whereas in the first link it takes the standard viewport height.
Please help me solve this. Thanks.