victor-grid
v1.0.2
Published
Система сеток для ребят из Proweb'а
Downloads
6
Readme
Victor-grid
The grid system for friends from the school Proweb
Installation
npm i victor-grid
Usage
- Create a file with the following configuration (
for example v-grid.js
):
let vgrid = require('victor-grid');
vgrid ({
/* File name (file-name.less || file-name || folder-name/file-name) */
fileName: 'grid/_layout_grid',
gridOptions: {
/* Spacing between columns (30px / 2) */
gutter: '30px',
/* Number of columns */
column: 12,
/* Margin from the columns (margin || padding) */
indent: 'margin'
},
/* Breakpoints for media queries */
gridBreakpoints: {
lg: '1200px',
md: '992px',
sm: '768px',
xs: '576px'
},
/* Names of myxins */
gridMixinName: {
container: 'container',
row: 'row',
column: 'col',
media: 'media'
}
});
- Run this file with node
node v-grid.js