0
我有postcss運行autoprefixer咕嚕變換,並且代碼:與-webkit-轉型速記規則
transition: transform .3s, color .3s;
...正在輸出:
transition: color .3s, -webkit-transform .3s;
transition: transform .3s, color .3s;
transition: transform .3s, color .3s, -webkit-transform .3s;
但應該不會是輸出這個?
-webkit-transition: -webkit-transform .3s, color .3s;
transition: transform .3s, color .3s;
我postcss設置:
postcss: {
options: {
map: {
inline: false, // save all sourcemaps as separate files...
annotation: '../css/' // ...to the specified directory
},
processors: [
require('autoprefixer')({browsers: 'last 2 versions'}), // add vendor prefixes
]
},
dist: {
src: '../css/*.css'
}
}
我不知道如果我做錯什麼,如果它的輸出錯誤,或者是它實際上是正確的。
感謝