sindresorhus / gulp-autoprefixer

Prefix CSS
MIT License
692 stars 50 forks source link

-webkit-box-orient: vertical; is getting removed in the final css file #74

Closed maruthi1255 closed 7 years ago

maruthi1255 commented 7 years ago

Hi, My sass file is as follows. { overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

We are using gulp-autoprefixer while compressing the css files. In the final css file the -webkit-box-orient: vertical property is missing. Could you please help me to resolve this issue.

sindresorhus commented 7 years ago

Autoprefixer removes outdated prefixes that are no longer needed.

https://github.com/postcss/autoprefixer#options

maruthi1255 commented 7 years ago

Thanks for update.

Do we have any option to disable this behaviour. This was working earlier. Not sure when this feature got removed. Is there any workaround for this.

maruthi1255 commented 7 years ago

autoprefixer({browsers: ['last 2 version'] , remove: false}) This is working. Thanks