Detect if a browser in a mobile device (iOS/Android phone/tablet) is used
Update (June 2016): I now try to support touch and mouse input on every resolution, since the device landscape is slowly blurring the lines between what things are and aren’t touch devices. iPad Pros are touch-only with the resolution of a 13″ laptop. Windows laptops now frequently come with touch screens. Other similar SO answers … Read more