Skip to content
Advertisement

How to make scroll button disappear when scrolled to bottom

I made a scrollable with a floating button inside, which makes it scroll to bottom when clicked,

JavaScript

How can I make this button disappear when the is completely scrolled to the bottom?

Advertisement

Answer

Heading ##add this html:

JavaScript

Then add this to Javascript:

JavaScript

Now for the CSS:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement