sindresorhus / gulp-autoprefixer

Prefix CSS
MIT License
692 stars 50 forks source link

-ms prefix not added to transform in some cases #70

Closed orest22 closed 7 years ago

orest22 commented 7 years ago

Hi, I'm using version 3.1.1 with configuration ['last 2 versions', 'ie >= 9'] and it doesn't work for me. Here is an code example:

.transform-translate-x-z {
  transform: translateX(-50%) translateZ(0);
  transition: all .2s;
  &.multi-transform {
    transform: rotate(15deg) translate(-20px, 0px);
  }
}

Transformed in:

.transform-translate-x-z {
  transform: translateX(-50%) translateZ(0);
  transition: all .2s;
 }
.transform-translate-x-z.multi-transform {
    -ms-transform: rotate(15deg) translate(-20px, 0px);
        transform: rotate(15deg) translate(-20px, 0px); 
}

What I'm doing wrong? Thanks in advance!

battaglr commented 7 years ago

From the top of the readme:

Issues with the output should be reported on the Autoprefixer issue tracker.

orest22 commented 7 years ago

@battaglr Sorry I've noticed it after. Thanks.