How to implement the word effect like

On the site , for the words showing out, it use a dynamic effect to show it out.
And especially,the blue background of the text is adjust accroding to the each line’s width.

I just want to know is there a code lib to do this? thanks :bu: :slight_smile: