1.1.8 • Published 6 years ago

akvagrid v1.1.8

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

AKVAGRID

A pretty simple grid-column "overlayer" tool to base your (responsive) layouts on.


Install

npm install akvagrid --save-dev

Usage

import akva from 'akvagrid'

const grids = [
  {
    gridName: 'desktop-and-above',
    breakpoints: {from: {size: 65, unit: 'em'}, to: null},
    columnCount: 6,
    lineHeight: {size: 2, unit: 'em'},
    gutterWidth: {size: 1, unit: '%'},
    outerGutterWidth: {size: -1, unit: '%'},
    borderTheme: {color: 'blue', style: 'solid'},
    width: {size: 92, unit: '%'},
    maxWidth: {size: 1200, unit: 'px'},
    opacity: 0.5,
    zindex: 1
  },
  {
    gridName: 'mobile-and-tablet',
    breakpoints: {from: null, to: {size: 65, unit: 'em'}},
    columnCount: 4,
    gutterWidth: {size: 1.5, unit: '%'},
    outerGutterWidth: {size: 1.5, unit: '%'},
    borderTheme: {color: 'purple', style: 'dashed'},
    width: null,
    maxWidth: {size: 1200, unit: 'px'},
    opacity: 0.5,
    zindex: 1
  }
]

akva.init(grids)

Demo

www.piira.se/akva-grid

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago