Awesome
Fast.styl
Fast.styl improve and accelerate stylus css projects.
Inspiration
Awesome and recursive syntax: https://github.com/sergeche/emmet-sublime
Simple and intuitive css framework: https://github.com/jenius/roots-css
Install
- Clone this repo in your project:
git clone git://github.com/raulghm/fast.styl.git
- Import fast.styl in your stylus sheet:
@import "fast.styl"
- Enjoy fast.styl ;)
Usage
Stylus File:
.mySuperClass
m 10 10
p 20
w 100
h 100
bg red
bgi n
bd 1px
bdc red
c blue
size 20
d b
CSS file result:
.mySuperClass {
margin: 10px 10px;
padding: 20px;
width: 100px;
height: 100px;
background: #f00;
background-image: none;
border: 1px;
border-color: #f00;
color: #00f;
width: 20px;
height: 20px;
display: block;
}
TODO
Complete documentation