Collection of postcss trampling problems

Business background

  • starting from yesterday, 18-9-12, postcss
  • has not been fully used until now
  • record the problems encountered and deal with them later
  • too lazy to ask questions one by one

pit one

[resolved] webstorm does not support postcss-simple-vars plugin $ Syntax

  • sample code is as follows
$gray: -sharp6C6C6C;
$gray-dark: -sharp2A2A2A;
$gray-back: -sharpF6F6F6;
  • the effect picture is as follows

clipboard.png

    • ,"postcss-custom-properties,,live template`

postcss-css-variables,postcss-import

  • base.css

  • index.css


    • "postcss-custom-properties`