The easiest way i know is to add your test
class only after the first hover event.
I would do that with JavaScript. I would add an event listener that when triggered add the CSS class and remove itself (so that it dosen't trigger more then once)
Here you can find more on the mousehover
event