Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Using the Grid

Tom Maitland edited this page Oct 12, 2013 · 7 revisions

Creating grids in Base is crazy simple! You need your _layout.less file and two mixins.

.container()

Creates styles for a wrapping element that is centred (by default) and contains the columns within the grid. It is similar to .row in Bootstrap & other frameworks, and needed most of the time. The .column() mixin should be applied to html within the element .container() is applied to.

.container() takes no variables.

.column(@columns, @offset, @padding)

Clone this wiki locally