nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

background-image: -webkit-linear-gradient(left, #5bd8ff, #ff0000); #98

Closed jeeeez closed 9 years ago

jeeeez commented 9 years ago

background-image: -webkit-linear-gradient(left, #5bd8ff, #ff0000); background-image: linear-gradient(left, #5bd8ff, #ff0000);

When I run this task,I will get 'background-image: linear-gradient(left, #5bd8ff, #ff0000);' But I need keep the css 'background-image: -webkit-linear-gradient(left, #5bd8ff, #ff0000);' What can I do?

nDmitry commented 9 years ago

You should specify browsers your project supports and let Autoprefixer do the work https://github.com/nDmitry/grunt-autoprefixer#optionsbrowsers