stephenlacy / gulp-stylus

Stylus plugin for gulp
MIT License
223 stars 60 forks source link

Who write vendor prefixes? Don't use nib #192

Closed h0tc0d3 closed 7 years ago

h0tc0d3 commented 7 years ago

Input:

@keyframes rotateCircle
  0% blbla

Output:

@-moz-keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }
}
@-webkit-keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }
}
@-o-keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }
}
@keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }
}
gulp.task("css", function () {
    return gulp.src("./src/css/style.styl")
        .pipe(sourcemaps.init())
        .pipe(stylus())
        .pipe(sourcemaps.write("."))
        .pipe(gulp.dest("./static"));
});

Who add prefixes? I do not need extra prefixes, for this purpose I use autoprefixer.