Skip to content

Commit

Permalink
Fixes #11829: Adds .make-xs-column mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Dec 15, 2013
1 parent 9a8e619 commit a319ec5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions less/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,21 @@
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
}
.make-xs-column-offset(@columns) {
@media (min-width: @screen-xs-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.make-xs-column-push(@columns) {
@media (min-width: @screen-xs-min) {
left: percentage((@columns / @grid-columns));
}
}
.make-xs-column-pull(@columns) {
@media (min-width: @screen-xs-min) {
right: percentage((@columns / @grid-columns));
}
}


// Generate the small columns
Expand Down

0 comments on commit a319ec5

Please sign in to comment.