When loading, overlay the original element (text or image) with translucent white on the div element
I want to put a loading animation on top of it.

Applicable source code


Tried Even if

/background was specified, the image and text were only colored.
-Although opcity was specified, the loading animation is transparent.
・ I saw it using rgba, but it was just a color behind the image and text as with the background.
-I created a new div between the animation div and the image div and specified the color in the background. Other than that, I can't use it because I want to use loading in various places.
・ I want to achieve without using plug-ins.

Are there any solutions?