I want to create a hover effect for an element but want the pre-hover CSS for the element to be the same as before, when hovering out again. So, I don't want to inadvertantly override prior styles when hovering out of the element again. In other words - an easy way to memoize the css state of an element and to restore that state later.
Ideas?