#ResponsiveGridz
This is an old repository. The project is being used and enhanced in the white-sass library, made by WhiteCube (Belgian digital agency I created).
##How to use
-
Include this file at the beginning of your main design file using the SASS syntax.
ex :
@import "responsiveGridz";
-
If your design has a fix max-width, use the
$baseWidth
var to set the width of your main container.ex :
body{ width: $baseWidth; }
-
Use the
grids_columns()
andgridz_gutter()
functions to set flexible widths and margins to your box elements.gridz_columns( $cols, $parent ) gridz_gutter( $parent ) ------------------------------------------------- $cols = amount of columns the element has to take $parent = amount of columns of the parent element
-
Add media queries on your main-container
-
Enjoy the flexible gridz on your child-elements !