SongBox
SongBox

Reputation: 691

How to achieve hover state in iPad / iPhone links?

I've noticed on a lot of sites recently that the hover state is being achieved on links.

For example there is a bunch of links, you touch one, it turns red, you touch it again and the link works.

I have tried various CSS methods to achieve this but so far no luck.

Can anyone shed any light?

Cheers

Upvotes: 1

Views: 10660

Answers (3)

c s h
c s h

Reputation: 80

Here is an article that talks about the iOS :hover/double tap issue .

Upvotes: 2

Mohamed Anis Dahmani
Mohamed Anis Dahmani

Reputation: 433

Well, you can try these toggle/switch examples: css toggle

Upvotes: 0

akmur
akmur

Reputation: 1635

That's not a hover event, to me it seems more like a click event. You click, the color changes (or better still, it toggles)

Upvotes: 0

Related Questions