# grunt-bambu-grid

> Grunt plugin to generate CSS grids

Latest version **0.1.1** (published 2015-04-01) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install grunt-bambu-grid
pnpm add grunt-bambu-grid
yarn add grunt-bambu-grid
bun add grunt-bambu-grid
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-04-01 |
| First published | 2015-03-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hein Bekker |
| Maintainers | netbek |
| Keywords | gruntplugin |

## Links

- npm: https://www.npmjs.com/package/grunt-bambu-grid
- Repository: https://github.com/netbek/grunt-bambu-grid
- Issues: https://github.com/netbek/grunt-bambu-grid/issues
- npm.io page: https://npm.io/package/grunt-bambu-grid

## Dependencies (1)

- [css](https://npm.io/package/css.md) ^2.2.0

## Recent versions

- 0.1.1 (latest) — 2015-04-01
- 0.1.0 — 2015-03-31

## README

# grunt-bambu-grid [![Build Status](https://secure.travis-ci.org/netbek/grunt-bambu-grid.png?branch=master)](http://travis-ci.org/netbek/grunt-bambu-grid)

Grunt plugin to generate CSS grids

## Getting Started
This plugin requires [Grunt](http://gruntjs.com/) `~0.4.5`

````javascript
// Gruntfile.js configuration
grunt.loadNpmTasks('grunt-bambu-grid');

grunt.initConfig({
	bambu_grid: {
		grid: {
			options: {
				columns: 12, // Number of columns.
				gutter: 2, // Space between columns.
				unit: 'rem', // em, rem (http://caniuse.com/#feat=rem)
				decimals: 5, // Determines the accuracy of column widths.
				rowClass: 'row', // Row class name.
				columnClass: 'column', // Column class name.
				mediaQueries: {
					xsmall: 'screen and (min-width: 0em)', // 0px
					small: 'screen and (min-width: 40em)', // 640px
					medium: 'screen and (min-width: 62em)', // 992px
					large: 'screen and (min-width: 90em)', // 1440px
					xlarge: 'screen and (min-width: 120em)' // 1920px
				}
			},
			dest: 'test/css/grid.css'
		}
	}
});
````

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
* 0.1.1 Switch to Bootstrap-style grid
* 0.1.0 First release

## Credits
* CSS from [Bootstrap](https://github.com/twbs/bootstrap) (Twitter, Inc., MIT license)

## License
Copyright (c) 2015 Hein Bekker. Licensed under the MIT license.

---
_Source: https://npm.io/package/grunt-bambu-grid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
