The idea is to add an outer placeholder span with an inner span.
Add a background-image with linear-gradient to the inner span and animate it.
We can just have a simple HTML loading texts just like this:
Or even this kind of gradient image would work too:
Or even better. Gradient with an animation.
background elements examples loader sass style