Skip to content

Commit

Permalink
Add columnOffset mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
James Kolce committed Jan 13, 2016
1 parent 2ebc0d5 commit ebf60b9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/core/utils/_atgrid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,17 @@ $only-semantic: false !default;
}


//
// Column offset
// -------
// Use this mixin to move a column
//
// @offset: The size of the offset, should be a number between 0-1. Example: 1/2
//

@mixin columnOffset($offset) {
margin-left: $offset * 100%;
}


//
Expand Down

0 comments on commit ebf60b9

Please sign in to comment.