Move button when scrolling code example
Example: Move button when scrolling
<input type="button" onClick="document.getElementById('scroll').scrollIntoView();" />
<input type="button" onClick="document.getElementById('scroll').scrollIntoView();" />