I can place a background image for a specific div using css c background: url(dump.gif);, for example. If you say the gif is transparent, I can apply the background color to it with css. Say I press a button and the command runs to change the background of only a transparent image, and this image is embedded in a larger div.

Imagine that the glass is embedded in a larger div and is set as described as a css background. Any way to change only its background.
"No" is fine, as the answer, at least I will cease to be surprised.
EDIT: added jsfiddle. If glas is misleading, click the fiddle.
http://jsfiddle.net/v4yfdkmf/
, . .