You may not know this but WordPress has global variables that can be used for browser detection, which you can use for browser specific functionality or styling.

WordPress Browser Detection Coding

This is an example of how you can code for browser detection in WordPress:

<?php global $is_chrome, $is_gecko, $is_IE, $is_iphone, $is_lynx, $is_opera, $is_safari; if ( $is_chrome ) { echo "Chrome browser"; } elseif ( $is_gecko ) { echo "Gecko browser"; } elseif ( $is_IE ) { echo "IE browser"; } elseif ( $is_iphone ) { echo "iPhone browser"; } elseif ( $is_lynx ) { echo "Lynx browser"; } elseif ( $is_opera ) { echo "Opera browser"; } elseif ( $is_safari ) { echo "Safari browser"; } else { echo "If targeting one or combination of browsers but not all"; } ?>

You can use one, combination of these or all of these.