Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 1.14 KB

feature: Interaction media features status: caution tags: polyfill kind: css polyfillurls: mq4-hover-shim moreurl: http://www.jordanm.co.uk/post/66660448615/potential-use-cases-for-script-hover-and-pointer

The Media Queries Level 4 Working Draft adds new media query features for checking whether the user's input mechanisms support hovering (hover and any-hover) and how accurate they are (pointer and any-pointer).

The usage of polyfills is strongly recommended due to the current level of browser support (Edge, Chrome 41+, Opera 28+, and Safari 9 at the time of writing).

mq4-hover-shim provides support in non-bleeding-edge browsers for detecting the primary pointer's ability to hover or not (i.e. the (hover: hover) media query).