Search code examples
csslinear-gradientscodekit

Wrong Autoprefixer compilation on linear-gradient


Im using Codekit 2 (2.0.4) with Autoprefixer-

background: linear-gradient(to top, black, white);  

turned into this:

background: linear, to top, black, white;

Solution

  • This problem was on old Autoprefixer version and was fixed in newest one. But it is difficult to update Autoprefixer separated of CodeKit (it is one of benefits of using Grunt).