Grid system pack for Seed!
You can use this with any project you'd like! (Seed not required).
Install
npm install seed-grid --save
Documentation
Check out our styleguide for documentation of this pack.
Basic Usage
CSS
Add the seed-grid.css or seed-grid.min.css to your project, and import it like so:
SCSS
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
var gulp = ;var sass = ;var seedGrid = ; gulp;
Once that is setup, simply @import
seed-grid as needed in your .scss
file:
// Packs
Note: Because seed-grid has dependencies, its includePaths output will be an array
. If you're including other paths in addition to seed-grid, you will need to flatten the array. An easy way to do this is to use sass-pathfinder.
Example with sass-pathfinder:
var gulp = ;var sass = ;var seedGrid = ;var pathfinder = ; gulp;
Options
The following variables can be found in _config.scss
// Namespace // Container ) ! // Grid 0: 0%, 1: 8 2: 16 3: 25%, 4: 33 5: 41 6: 50%, 7: 58 8: 66 9: 75%, 10: 83 11: 91 12: 100%, 20: 20%,) ! ) !
Breakpoint options
Grid pack uses the Breakpoints mixin pack. You can modify your grid breakpoints by adjusting the $seed-breakpoints
variable:
// Breakpoints ) !