css for firefox browser only code example Example: css rules only for mozilla @-moz-document url-prefix() { h1 { color: red; } }