Ian Nicholas

Hover Is Dead; Long Live Hover

Is it just me, or have some of the visitors lately been a little… well… spooky. They drop in, scroll around a bit like normal, but then—somehow, with no warning at all—we're clicked on. It's disorienting. Their sneaking up on us wouldn't bother me so much, really, but… I could swear there are more of them every day.
—a :hover to its a element

Yes, it's a scary time to be a hover state. The venerable CSS selector and the JavaScript events that sprang from it have seemingly always been here, fully supported by nearly every browser out there. But there are some new kids on the block, and these upstart smartphones and tablets think it doesn't even exist. To them, there's no such thing as a hover. Interacting with a page element is a purely binary proposition—you are not touching it, and then you are.

Read more