Is it possible to detect Firefox Browser only with CSS like IE?
for example, IE browser can be detected like:
<!--[if IE 7]>
   /* IMPORTING CSS FOR IE */
<![endif]-->
Can be Firefox browser detected like this code?
Is it possible to detect Firefox Browser only with CSS like IE?
for example, IE browser can be detected like:
<!--[if IE 7]>
   /* IMPORTING CSS FOR IE */
<![endif]-->
Can be Firefox browser detected like this code?
 
    
     
    
    Not that I know of, but you can try this:
@-moz-document url-prefix() {
 
    #my-id { font-size: 100%; }
 
}
This website has more options as well
You can place this in your CSS file or between your <style type='text/css'> tags in your HTML. Works Fine!
 
    
     
    
    @supports not( -moz-appearance:none ){
  /* Add non-firefox CSS code here */
}