Simple and tiny Back To Top button with no dependencies. Hides when on top, scrolls up smoothly when clicked. Works equally great with Vue, React, Angular and without frameworks on Jekyll, Hugo and Hexo
Calculate the size and position of scaling on a single axis from anywhere on that axis. This works for any system that calculates from the top or left, like the browser dom!