postcss-transform-shortcut

1.安装
# yarn add postcss-transform-shortcut -D
2.配置(postcss.config.js)
module.exports = {
  plugins: [
    ...,
    require('postcss-transform-shortcut')
  ]
}
3.使用
.transform {
    transform: skewX(25deg);
    rotate: 180deg;
    scale: 2 2;
    translate: 10px 10px;
}

results matching ""

    No results matching ""