Skip to content

Commit

Permalink
Added relative()
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 14, 2011
1 parent 72bead0 commit c23ec72
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions lib/nib/positions.styl
Expand Up @@ -24,7 +24,7 @@
*/

fixed()
-pos(fixed, arguments)
-pos('fixed', arguments)

/*
* Position utility.
Expand All @@ -43,4 +43,23 @@ fixed()
*/

absolute()
-pos(absolute, arguments)
-pos('absolute', arguments)

/*
* Position utility.
*
* Synopsis:
*
* absolute: <pos> [n] <pos> [n]
*
* Examples:
*
* relative: top left
* relative: top 5px left
* relative: top left 5px
* relative: top 5px left 5px
*
*/

relative()
-pos('relative', arguments)

0 comments on commit c23ec72

Please sign in to comment.