Home

Awesome

Griss

Simple and modular grid system.

Overview

Griss is a simple grid system built with modularity in mind to avoid unnecessary bloat and help you develop with ease.

Key features:

Installation

Install it using npm:

npm install griss

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

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

Usage

To create either a grid or a cell use whichever element makes sense for your content, it could be a div, span, ul, ol, li, even aside, article or main. If it makes sense, it will —most certainly— work just fine.

To define a grid use the base grid class —gs-Grid— and as many cells as you need using the base cell class —gs-Grid-cell. Keep in mind that Grids can only have cells as direct children.

Cells by default are as wide as the grid. To define a different size combine the base cell class with your own selector, or use the cells module.

Gutters by default have a size of 20px. To define a different size combine the base grid class with your own selector or use the gutters module.

Examples

Some basic examples:

For more examples, please check out the test page.

Available classes

Browser support

The following browsers are supported:

Available modules

Contributing

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

License

Released under the MIT license.