To have the button animation run automatically when the page is loaded, set a Boolean variable to be true via the OnVisible property of the screen and use this variable to start the timer via the timer’s Start property. The timer will stop automatically if you navigate away from the page (preserving system resources) and on returning to the page the OnVisible Boolean variable will start the timer again
Also set the initial value of a variable varCounter to be zero by adding the following to the OnVisible property of the screen UpdateContext({varCounter:0}). This will reset everyime the screen is loaded
Don’t forget, HTML Text boxes have Height, Width, X & Y properties just like any other control so you can make them fully responsive