почетай Банановая рекомендует... https://stackoverflow.com/questions/5952890/how-does-the-css-onmouseover-event-work