Search code examples
cssandroid-browser

Target android browser only in CSS


Is there a way to target the Android default browser in CSS? Something similar to either the <!--[if IE 6]><![endif]--> tags, or the @-moz-document url-prefix() {}?

Thanks!


Solution

  • No Way. There are not Conditional comments or special CSS-Prefixes for Android!

    You can check the UserAgent with JavaScript or jQuery and embed then a CSS only for Andoid.