Skip to content

Conversation

@larowlan
Copy link

Before Chrome 41, the implementation of @media (hover: hover) was buggy and reported (hover: none) on non-touch-based computers with a mouse/trackpad.

Switching to @media (any-hover: hover) bypasses the bug.

See https://issues.chromium.org/issues/40397980 and implementation notes on https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover

This allows support for replacing @media (hover: hover) with @media (any-hover: hover)

See https://developer.mozilla.org/en-US/docs/Web/CSS/@media/any-hover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant