I have a list item, and during a javascript event, I want to change it to look like it's disappearing into the horizon (ie: not talking about animating it -more like a filter, maybe?).
is there an html/css/javascript way to add a gradual transparency -and do it dynamically? The element would already have a background, and I don't want to change the color or gradient already there (or if I do, I'll have to get the original and then adjust that?) -just make the element fade out from say, top to bottom?
everything I'm seeing so far seems to wants to either adjust the background image to a gradient color or change the opacity of the entire element.
...sorry if this ends up being really stupid and I'm just having a brain fart.
* Update * The following is very close to what I want, except that I can't figure out how to do it without already knowing what the background was (or else, I'm simply setting it to something else).