grid-assistant
v0.0.1
Published
"Small Utility to draw bootstrap style grids directly into DOM, can be used directly in browser console."
Downloads
2
Readme
grid-assistant.js
Demo
Use: gridAssistant(DOMElement, [ncol, gutter])
ncol
: number of columns, gutter
: number, pixle value of gutter width.
Example:
var ga = require('grid-assistant.js');
var element = document.getElementById('container');
ga(element, 16, 30); // 16 columns, 30px gutter