I have a marquee animation on a text that works fine on page load. But when you adjust the browser window, the dimensions are not correct. Is it possible to update the x-axis with the correct variable on window resize and not run the whole function over again?
See the Pen LBYzzz by helleholmsen (@helleholmsen) on CodePen