Ease text effect

Hey check out the example pls…

now how can i make that instead of the hole text and grey bar resize with ease, to only resize the grey bar…
thanks,