Responsive Foundation 6.0.0

Sidebar

Grid » Grid Controls Choose which sets of grid classes to generateLink

Since: 2.0.0 New Issue

Responsive is based on Bootstrap, and supports all Boostrap-style grid options, including push, pull, and offset, by default. But since we dynamically generate our grid instead of including static files, there is also support for a new type, margin, which puts a true margin between each grid item in the grid, and using the $grid-supports map, you can choose to generate any (or none!) of these grid class types.

You may want to tweak this to improve the performance of your theme, especially if you do not use push, pull, or offset.

Examples

Prevent margin and offset classes from generating.

		$grid-supports: (
			margin: false, // optional
			push: true, // required for the framework
			pull: true, // required for the framework
			offset: false  // optional
		);
		
Source: grid/_grid-variables.scss, line 162 View Source