Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed May 10, 2012
1 parent a0ee58b commit 04f5547
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.mkdn
Expand Up @@ -47,7 +47,7 @@ $grid-padding : $gutter-width; /* 1em padding on the grid */

The basic grid is composed using two simple mixins:
* Apply the `container` mixin to create your initial grid context.
* Apply the `columns` mixin to declare the width of an element on the grid.
* Apply the `span-columns` mixin to declare the width of an element on the grid.

Use the 'omega' trigger to declare elements that span the _final_ column of
their parent element, and pass a 'context' in nested situations. The
Expand All @@ -66,13 +66,13 @@ For example:
header { ... }
*/

nav { @include columns(3); }
nav { @include span-columns(3); }

#content {
@include columns(9 omega);
@include span-columns(9 omega);

#main { @include columns(6,9); }
aside { @include columns(3 omega,9); }
#main { @include span-columns(6,9); }
aside { @include span-columns(3 omega,9); }
}

footer { clear: both; }
Expand Down
6 changes: 3 additions & 3 deletions REFERENCE.mkdn
Expand Up @@ -63,8 +63,8 @@ $grid-padding : $gutter-width !default;
- Default: `$total-columns`.

```scss
nav { @include columns(3,12); }
article { @include columns(9 omega,12); }
nav { @include span-columns(3,12); }
article { @include span-columns(9 omega,12); }
```
**Span Columns**: `span-columns(<$columns> [<omega> , <$context>, <$from>])`
- _Apply to any element to align it with the Susy Grid._
Expand All @@ -76,7 +76,7 @@ article { @include columns(9 omega,12); }

```scss
.gallery-image {
@include columns(3,9); // each gallery-image is 3 of 9 cols.
@include span-columns(3,9); // each gallery-image is 3 of 9 cols.
&:nth-child(3n) { @include omega; } // every third image completes a row.
}
```
Expand Down

0 comments on commit 04f5547

Please sign in to comment.