Responsive fab button


#1

How can I create a responsive fab button? And by responsive, I mean it fades in when I start scrolling my page, but when I scroll up back to the original page position, it fades out.


#2

See: