Improve your website UX with “What Input”, use it for CSS styling or JavaScript checks
“What Input” is a global utility for tracking the current input method (mouse, keyboard or touch). Thanks to this library, you can use CSS selector, ie: [data-whatinput=”keyboard”] or JavaScript checks to know the type of input being used.