Grid
Grid example 1
This 3 column layout stacks on xs* (each column takes up full width) but on the other breakpoints it adapts to different widths.
Grid example 2
This 3 column layout stacks on xs* (each column takes up full width) but on the other breakpoints it adapts to different widths.
Grid example 3
You can nest columns inside columns to achieve greater complexity and structure the page. In effect, each column can be sub-divided into further 12 columns. The nested columns align to their own 12 col grid based on the width of the parent column.
Grid example 4
If a pull-right class is added to the first column it will be the top most column when stacked but displays at the far right on larger views. On xs the source order is honoured.
Grid example 5
Columns can be offset to create empty space.
Grid example 6
Adding the hidden class will hide a column. This is useful for showing content for one view and hiding it for other views.
Grid example 1
This 3 column layout stacks on xs* (each column takes up full width) but on the other breakpoints it adapts to different widths.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
LESS
The main mixin is called:_grid(WBC)
Other mixins:
-
._grid-breakpoints()
This mixin makes the breakpoints available in these four variables:-
@screen-xs
-
@screen-sm
-
@screen-md
-
@screen-lg
-
-
._grid-clearfix()
This mixin contains a clearfix to contain floats.
Grid example 2
This 3 column layout stacks on xs* (each column takes up full width) but on the other breakpoints it adapts to different widths.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
LESS
The main mixin is called:_grid(WBC)
Other mixins:
-
._grid-breakpoints()
This mixin makes the breakpoints available in these four variables:-
@screen-xs
-
@screen-sm
-
@screen-md
-
@screen-lg
-
-
._grid-clearfix()
This mixin contains a clearfix to contain floats.
Grid example 3
You can nest columns inside columns to achieve greater complexity and structure the page. In effect, each column can be sub-divided into further 12 columns. The nested columns align to their own 12 col grid based on the width of the parent column.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
LESS
The main mixin is called:_grid(WBC)
Other mixins:
-
._grid-breakpoints()
This mixin makes the breakpoints available in these four variables:-
@screen-xs
-
@screen-sm
-
@screen-md
-
@screen-lg
-
-
._grid-clearfix()
This mixin contains a clearfix to contain floats.
Grid example 4
If a pull-right class is added to the first column it will be the top most column when stacked but displays at the far right on larger views. On xs the source order is honoured.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
LESS
The main mixin is called:_grid(WBC)
Other mixins:
-
._grid-breakpoints()
This mixin makes the breakpoints available in these four variables:-
@screen-xs
-
@screen-sm
-
@screen-md
-
@screen-lg
-
-
._grid-clearfix()
This mixin contains a clearfix to contain floats.
Grid example 5
Columns can be offset to create empty space.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
LESS
The main mixin is called:_grid(WBC)
Other mixins:
-
._grid-breakpoints()
This mixin makes the breakpoints available in these four variables:-
@screen-xs
-
@screen-sm
-
@screen-md
-
@screen-lg
-
-
._grid-clearfix()
This mixin contains a clearfix to contain floats.
Grid example 6
Adding the hidden class will hide a column. This is useful for showing content for one view and hiding it for other views.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
LESS
The main mixin is called:_grid(WBC)
Other mixins:
-
._grid-breakpoints()
This mixin makes the breakpoints available in these four variables:-
@screen-xs
-
@screen-sm
-
@screen-md
-
@screen-lg
-
-
._grid-clearfix()
This mixin contains a clearfix to contain floats.
Responsive-Margins
Top margins
Use these classes to add vertical spacing above elements based on the layout system. To maintain a visual rhythm and consistency in the UI we have a set of classes that use multiples of 6 when applying vertical spacing between elements. The lead visual designer will stipulate which margin to use.
Bottom margins
Use these classes to add vertical spacing below elements based on the layout system.
Top margins
Use these classes to add vertical spacing above elements based on the layout system. To maintain a visual rhythm and consistency in the UI we have a set of classes that use multiples of 6 when applying vertical spacing between elements. The lead visual designer will stipulate which margin to use.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
CSS
Modifier classes:-
no-top-margin-xs
-
top-margin1-xs
-
top-margin2-xs
-
top-margin3-xs
-
top-margin4-xs
-
top-margin5-xs
-
top-margin6-xs
-
top-margin7-xs
LESS
The main mixin is called:_responsive-margins(WBC)
Bottom margins
Use these classes to add vertical spacing below elements based on the layout system.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
CSS
Modifier classes:-
no-bottom-margin-xs
-
bottom-margin1-xs
-
bottom-margin2-xs
-
bottom-margin3-xs
-
bottom-margin4-xs
-
bottom-margin5-xs
-
bottom-margin6-xs
-
bottom-margin7-xs
LESS
The main mixin is called:_responsive-margins(WBC)
Top margins
Use these classes to add vertical spacing above elements based on the layout system. To maintain a visual rhythm and consistency in the UI we have a set of classes that use multiples of 6 when applying vertical spacing between elements. The lead visual designer will stipulate which margin to use.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- We know all people (and projects for that matter) come in all forms and variation. We love the diversity and the new insights that this brings with it. Unfortunately the responsive margins were not diverse at all only giving you seven options for spacing. We expanded it’s mind in a flower-power filled group team-building exercise and now you have all kinds of margins. ALL KINDS! (#201)
- (We moved to a neat mixin for margins, removed the block statement and bang important.)
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
CSS
Modifier classes:-
no-top-margin-xs
-
top-margin1-xs
-
top-margin2-xs
-
top-margin3-xs
-
top-margin4-xs
-
top-margin5-xs
-
top-margin6-xs
-
top-margin7-xs
LESS
The main mixin is called:_responsive-margins(WBC)
After you called the main mixin you have access to the margin mixins:
._responsive-margins-top( 1, 6px );
and ._responsive-margins-bottom( 1, 6px );
You can call the mixins with the optional important flag to make your css more specific, however by default there is no
!important
appended.
/*
* @param @el {string} Element name appendix, We use numbers
* @param @space {margin} Space for this margin, We use px
* @param @important {sting} Either omit or add 'important' to make margins important
*/
Bottom margins
Use these classes to add vertical spacing below elements based on the layout system.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- We know all people (and projects for that matter) come in all forms and variation. We love the diversity and the new insights that this brings with it. Unfortunately the responsive margins were not diverse at all only giving you seven options for spacing. We expanded it’s mind in a flower-power filled group team-building exercise and now you have all kinds of margins. ALL KINDS! (#201)
- (We moved to a neat mixin for margins, removed the block statement and bang important.)
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
CSS
Modifier classes:-
no-bottom-margin-xs
-
bottom-margin1-xs
-
bottom-margin2-xs
-
bottom-margin3-xs
-
bottom-margin4-xs
-
bottom-margin5-xs
-
bottom-margin6-xs
-
bottom-margin7-xs
LESS
The main mixin is called:_responsive-margins(WBC)
After you called the main mixin you have access to the margin mixins:
._responsive-margins-top( 1, 6px );
and ._responsive-margins-bottom( 1, 6px );
You can call the mixins with the optional important flag to make your css more specific, however by default there is no
!important
appended.
/*
* @param @el {string} Element name appendix, We use numbers
* @param @space {margin} Space for this margin, We use px
* @param @important {sting} Either omit or add 'important' to make margins important
*/
Responsive-Toggles
Visibility classes
Responsive applications generally require some degree of content curation to accommodate small devices and viewports. One method of doing this is to simply hide non-essential content. These classes allow you to show and hide content based on media queries.
Hidden classes
Responsive applications generally require some degree of content curation to accommodate small devices and viewports. One method of doing this is to simply hide non-essential content. These classes allow you to show and hide content based on media queries.
Print classes
Use these classes to create print documents from your html content with options to specify which content is printed and which content is ignored.
Visibility classes
Responsive applications generally require some degree of content curation to accommodate small devices and viewports. One method of doing this is to simply hide non-essential content. These classes allow you to show and hide content based on media queries.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
Hidden classes
Responsive applications generally require some degree of content curation to accommodate small devices and viewports. One method of doing this is to simply hide non-essential content. These classes allow you to show and hide content based on media queries.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
Print classes
Use these classes to create print documents from your html content with options to specify which content is printed and which content is ignored.
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
Visibility classes
Responsive applications generally require some degree of content curation to accommodate small devices and viewports. One method of doing this is to simply hide non-essential content. These classes allow you to show and hide content based on media queries.
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
Hidden classes
Responsive applications generally require some degree of content curation to accommodate small devices and viewports. One method of doing this is to simply hide non-essential content. These classes allow you to show and hide content based on media queries.
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)
Print classes
Use these classes to create print documents from your html content with options to specify which content is printed and which content is ignored.
What’s new since v2.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- Fanfare, Drum roll … We’ve added another brand. Yay! 👏
What’s new since v1.0.0
This version changed:CSS/LESS
but not:
HTML
,
JS
- To make it easier to switch brands with Less we’ve added a brand variable. Building multibrand sites has never been this easy! (#203)