Skip to content

Back to Top Button

A helpful button that appears when customers scroll down, letting them jump back to the top of the page instantly.

Customization

  • Trigger Distance: Decide how far down the user must scroll before the button appears (default is 400px).
  • Style: Match the button's color and position to your brand.

Bonus Feature: "Inactive Tab" Title

This is a clever marketing trick! When a customer switches to another browser tab, you can make your site's title automatically change to something catchy like "Miss you already! 💔" to lure them back.

Released under the MIT License. | Contact: 15845605353@qq.com