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