Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kgcreative authored Oct 16, 2017
1 parent 8ae5a06 commit 7d4493d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,14 @@ element {
margin-right: 20px;
}
```
---
## omega-flex
`@include omega-flex($selector: null, $grid: $neat-grid)`
- Adds a margin right to the specified object, or if auto, to the last child of the grid.

<strong>example SCSS</strong>
```SCSS
.element {
@include flex-omega;
@include omega-flex;
}
```
<strong>example CSS</strong>
Expand All @@ -116,13 +119,10 @@ element {
margin-right: 20px;
}
```

## omega-flex
`@include omega-flex($selector: null, $grid: $neat-grid)`
- Adds a margin right to the specified object, or if auto, to the last child of the grid.
---
<strong>example SCSS</strong>
```SCSS
@include flex-omega('.element:nth-of-type(3n+2)');
@include omega-flex('.element:nth-of-type(3n+2)');
```
<strong>example CSS</strong>
```CSS
Expand All @@ -135,7 +135,7 @@ element {
<strong>example SCSS</strong>
```SCSS
.element {
@include flex-omega('&:nth-of-type(3n+1)');
@include omega-flex('&:nth-of-type(3n+1)');
}
```
<strong>example CSS</strong>
Expand All @@ -149,7 +149,7 @@ element {
<strong>example SCSS</strong>
```SCSS
.element {
@include flex-omega(auto);
@include omega-flex(auto);
}
```
<strong>example CSS</strong>
Expand Down

0 comments on commit 7d4493d

Please sign in to comment.