System Grab Bag

View all TLDR pages from common (or from all pages)

postcss

PostCSS is a tool for transforming styles with JS plugins. More information: https://postcss.org.
  • Parse and transform a CSS file:
    postcss {{path/to/file}}
  • Parse and transform a CSS file and output to a specific file:
    postcss {{path/to/file}} --output {{path/to/file}}
  • Parse and transform a CSS file and output to a specific directory:
    postcss {{path/to/file}} --dir {{path/to/directory}}
  • Parse and transform a CSS file in-place:
    postcss {{path/to/file}} --replace
  • Specify a custom PostCSS parser:
    postcss {{path/to/file}} --parser {{parser}}
  • Specify a custom PostCSS syntax:
    postcss {{path/to/file}} --syntax {{syntax}}
  • Watch for changes to a CSS file:
    postcss {{path/to/file}} --watch
  • Display available options and examples:
    postcss --help

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.