我想开始在WebStorm中使用PostCSS插件,我想知道如何做。

我用index.htmlstyle.css创建了新项目。最后,我设置了PostCSS方言。 PostCSS插件自动安装。

我写

main{
  height: 400px;
  width: 100%;
  section{
    width: 60%;
    height: 50px;
    border: 2px solid black;
  }
}


和postcss-nest不起作用。

最佳答案

无法评论,信誉不足。您使用的是postcss-cli,WebStorm PostCSS支持插件还是构建工具(如果是,使用哪个工具)?

关于css - WebStorm中的PostCSS语法,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/48613236/

10-11 08:10