News for hackers. Stuff that matters.
Re:Why I don’t use CSS preprocessors by ino on Saturday April 02, 2016 @02:41AM (#11410523)
Is there a css3 variables compiler/processor/translator to plain css without variables?

It can be a copy-paste tool on the internet or whatever, no preprocessor or build tools required. You work directly with styles.css3 in the browser and when you're done you transform it to old style without variables, so it works in older browsers.

That's what I wanted to do last week but as I couldn't find such a tool, at the end I did a search/replace. It was a small project obviously.

Re:Why I don’t use CSS preprocessors by jack_jennings on Saturday April 02, 2016 @03:09AM (#11410577)
This might be what you're looking for: https://github.com/segmentio/myth
Re:Why I don’t use CSS preprocessors by ino on Saturday April 02, 2016 @05:01AM (#11410821)
Thanks, this looks good!
Re:Why I don’t use CSS preprocessors by cobalt on Saturday April 02, 2016 @02:56AM (#11410549)
i think that is what postcss does
Re:Why I don’t use CSS preprocessors by floatboth on Saturday April 02, 2016 @10:05AM (#11411547)
PostCSS parses CSS, runs plugins and outputs CSS. Yep, of course there is a plugin that does variables! And the "Myth" tool, mentioned in a comment here, is just a pack of PostCSS plugins.

And the OP uses PostCSS. Apparently, a lot of people here didn't read that part...