Using skrollr, I have a div positioned at the bottom of some content that I want to fade in once the screen reaches its level.
I attempted various examples found on their cheat sheet but had no success.
This div is situated above the footer (500px from the bottom) and its position from the top varies depending on the content's height, making it challenging to determine the exact distance from the top.
I have experimented with the following code:
<div ... data-bottom-top="opacity: 0" data-center-top="opacity: 1">
I have successfully applied this technique to elements at the top of the screen (fading out when scrolled down), but I am struggling to achieve the same effect for an element at the bottom.