Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 14, 2011
1 parent 8470cbf commit 18e9387
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion examples/import.styl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
@import "mixins/box"

body
pad(10px, 5px)
pad 10px 5px

body
pad 5px

body
pad-x 5px
5 changes: 4 additions & 1 deletion examples/mixins/box.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

pad(x, y = x)
padding y x y x
if y == x
padding y
else
padding y x y x

pad-x(n)
padding-left n
Expand Down

0 comments on commit 18e9387

Please sign in to comment.