Myth: A pure CSS preprocessor
GitHub: https://github.com/segmentio/myth
CSS the way it was imagined.
Myth is a preprocess that lets you write pure CSS without having to worry about slow browser support, or even slow spec approval. It's a like CSS polyfill.
Installation
$ npm install -g myth
Usage
$ myth input.css output.css
# Generated output.css from input.css
Why?
Myth lets you write pure CSS while still giving you the benefits of tools like LESS and Sass. You can still use variables and math functions, just like you do in preprocessors. It's like a polyfill for future versions of the spec.
Some of the features in CSS require runtime calculations, which neither Myth nor preprocessors handle, but what Myth does is let you write your code today in the future syntax, so that your code is future-proof. When browsers finally support these features you won't need to rewrite anything, just start using the cascade!
Taking plain CSS as an input also means you can use Myth to re-process anyone else's CSS (or another preprocessors output), adding the browser support you need, without having to re-write the code in a completely different syntax.
Myth is built with Rework so it's incredibly fast, and has a nice Javascript API in addition to the CLI.
'프로그래밍 > Style & Design' 카테고리의 다른 글
[CSS] Pixate: Native iOS styles with stylesheets (0) | 2014.01.28 |
---|---|
[Style] 15 Free Under Construction and Coming Soon Website Templates (0) | 2014.01.10 |
Background Check: Automatically change element colors (0) | 2013.10.17 |
Video in Web Design (0) | 2013.10.14 |
Google Web Designer (0) | 2013.10.02 |