Create Fill Text on Hover Effect using CSS clip-path that clips the inset of the element.
Using the Inset Shape as the path to clip, and transitioning it from 100% right inset clipping to 0% inset clipping, notice that this clipping applies to the whole element including it's shadows, I used one html element here, which is button element, with two pseudo elements one for the caret and the other for the green text that is being clipped