css rules only for mozilla

CSS
@-moz-document url-prefix() {
  h1 {
    color: red;
  }
}
Source

Also in CSS: