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