-1

I have seen this thread

What is the best way to detect a mobile device in jQuery?

but it does not solve the question on how to determine, if the device is a tablet, or a smartphone.

ipod or ipad ok. But there are android devices for tablets and smartphones

Is there a way and if yes, how?

Community
  • 1
  • 1
Toskan
  • 11,184
  • 12
  • 75
  • 144

1 Answers1

0

Use CSS media queries to adjust the layout based on the viewport size of the device.

Hen Sapir
  • 1,123
  • 1
  • 12
  • 13