My Shitty Code

Embracing the Messiness in Search of Epic Solutions

Tag: Modernizr

  • Modernizr: Detecting Touch Devices vs Non Touch Devices

    Modernizr has a great feature that allows us to detect whether the browser is running on a touch device (iPad, smartphones, etc) or on a non-touch device (laptop, computer, etc). Even though most modern touch devices support “proximity” hovering (navigating without touching the device screen), the browsing experience still suffer when dealing with onmouseover and […]