Closed SafaElmali closed 3 years ago
I am trying to use autoprefixer but I think it doesn't work.
Here my sass file
.testing { display: flex; width: percentage(5/7); }
Here is my gulp task
//Gulp Sass to CSS gulp.task('sass', async function() { gulp.src('app/scss/styles.scss') .pipe(sass()) .pipe(autoprefixer()) .pipe(gulp.dest('app/css')) });
Output of CSS file
.testing { display: flex; width: 71.42857%; }
Shouldn't it be like the below?
.testing { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 71.42857%; }
@SafaElmali, have you added browserslist config?
https://github.com/browserslist/browserslist#browserslist-
Same problem for me added "browserslist": ["last 2 versions"] in package.json
I am trying to use autoprefixer but I think it doesn't work.
Here my sass file
Here is my gulp task
Output of CSS file
Shouldn't it be like the below?