我知道是否有可能用JS触发CSS悬停效果,而不需要使用额外的类...
下面是我想做的一个例子:
i have tried fireing the effect using mouseenter()
but this does not trigger the CSS hover effect.
PS: I have made a function that helps a user using a online CMS. The help function shows you how to do stuff by moving a image around that shows you how to use stuff. The virtual cursor can click stuff, show elements etc.. But i would like this virtual cursor to tigger the :hover effects set in the CSS as well.