Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What causes this mouse behavior?

What causes this to happen? (the mouse is not being moved or clicked)

alt text

like image 674
Blck Avatar asked Jun 04 '09 12:06

Blck


2 Answers

I suspect that the :hover CSS style results in the object having a different size (possibly margin), which causes the :hover CSS style to cease to be applied. This returns the object to its original dimensions, and the :hover CSS style is applied by the browser once more.

The browser can only keep up with this at a certain rate and you see visible flickering.

like image 60
Richard Ev Avatar answered Nov 15 '22 07:11

Richard Ev


It's an edge condition.

like image 27
Otávio Décio Avatar answered Nov 15 '22 08:11

Otávio Décio