Element that slides in and becomes sticky
I am prototyping a button that should slide in from right (off canvas) after 200px scrolling in y-direction. This button should then become sticky and if you scroll back to the top the button should slide out again. I just can´t get it to work because I can´t combine a sticky element and the slide-in/-out effect. Any help would be much appreciated!
Thanks in advance,