I needed to make a button that resizes based on data driven values. The animation uses two absolutely positioned spans that emulate a scrolling effect. The base text is transparent and is what actually resizes the width of the element.
If you can find a better solution please fork, fix and comment.
A Pen by Arthur Longbottom on CodePen.