Home

Awesome

Griss gutters

Gutters module for Griss.

Overview

Extends Griss by adding a set of grid classes to modify the default gutter with three available breakpoints to adjust the size at different screen widths.

Key features:

Installation

Install it using npm:

npm install griss-gutters

Or simply download the minified file and include it into your project:

<link href="griss-gutters.min.css" rel="stylesheet" />

You will also need to install Griss core module.

Usage

Make sure you have read Griss core documentation first.

Combine the base grid class —gs-Grid— with the class that defines the gutter size that you need for your content —i.e. gs-Grid--gutter(s).

To define the gutter size of each grid you can choose from five different options:

Using only the base grid class the default gutter will be of 20px.

If you need to make adjustments at different screen widths use any of the available breakpoint suffixes: @s, @m and @l —i.e. gs-Grid--gutter(s)@m.

Examples

Some basic examples:

For more examples, please check out the test page.

Available classes

Base
Breakpoints

sz should be replaced with an available size.

Browser support

The following browsers are supported:

IE8 does not support media queries.

Contributing

Contributions are welcome! Please, read the contribution guidelines first.

License

Released under the MIT license.