Wednesday, 15 July 2015

javascript - How to detect mobile devices Multiple Select? -


I want to apply a different style if my multiple selection is shown on an mobile device as an iPhone or Android That's because it looks ugly. The question is how to find out:

  • Media-queries can not be used for width, which can also cause desktop browsers
  • Can not rely on pixel density, some pills are also created
  • Make sure it is only

enough for me, & lt; Select multiple & gt; , just to make sure I'm styling one-line-ugly-mobile-UI (and not a desktop version). I do not care that the solution is only html, javascript, css or combination of all.


No comments:

Post a Comment