Write CSS like a Sauerkraut. http://sauerkrautcss.madebyfibb.com/
Sauerkraut is available as Node module and Browser script. It parses skcss files (css written in german) and converts it to the appropriate css code
npm install sauerkraut
körper {
schrift-größe: 12px;
schrift-familie: 'Arial';
}
artikel {
breite: 600px;
rand: automatisch;
innenrand: 20px;
}
body {
font-size: 12px;
font-family: 'Arial';
}
article {
width: 600px;
margin: auto;
padding: 20px;
}
var Sauerkraut = require('sauerkraut');
var kraut = new Sauerkraut();
kraut.compile('/path/to/input.skcss', 'path/to/output.css');
kraut.inverse('/path/to/input.css', 'path/to/output.skcss');
Sauerkraut works in both ways. You can compile your CSS to kraut or your kraut to CSS.
npm install -g sauerkraut
sauerkraut input.skcss output.css