Jump to content

detect if user is on mobile device

Featured Replies

Posted

hello. 

I have button like

<a href='' id='' class='class A'></a>

and I need to change this class if user is using mobile version. What is the best way to do it?

 

<a href='' id='' class='if mobile then class A else class B'></a>

regards

Use css classes for Responsiveness

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.