1.0.2 • Published 6 years ago

victor-grid v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

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
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago