Use global variable: HTTP_USER_AGENT
<?php if(strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'mobile') || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'android')) : ?>
<!-- your specific css here -->
<?php endif; ?>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment