html - what does this mean @-moz-document url-prefix() -


I tried in Google but could not find a good answer, what is the code given below in CSS

  @ -moz-document url-prefix () {.className {}}   

Is it saying that only execute the code for Firefox, if doing so The best way to do this is to

This means that the following applies only to Gecko Browser.

url-prefix () indicates that only when the beginning of the url matches the mail passed in the url-prefix () method Is applicable.

An example:

  url-prefix (http://www.domain.com/page1/)   

then CSS Will be followed only if the URL of the page starts with

Comments