postcss-travix
PostCSS plugin for Travix
Installation
With npm:
$ npm install --save postcss postcss-travix
Usage
PostCSS
const postcss = ; ;
Options
Options can be passed for individual processors:
;
You can also disable some plugins:
;
You can find the list of processors with their names and default options in processors.js
file.
Features
Nesting
Input:
}}
Output:
Custom Properties (Variables)
Input:
Output:
For additional reference, visit the plugin's documentation
Autoprefixing
We support compatibility with older versions of browsers, and the current list of browsers consists of:
last 2 versions
Explorer >= 10
Safari >= 5
The naming convention of the browsers follow Browserslist.
Input:
Output:
License
MIT © Travix International