Skip to content

unstackinc/flexboxgrid2

 
 

Repository files navigation

Fork

This is a fork of https://github.com/evgenyrodionov/flexboxgrid2 for SparkGrowth.

Make changes

npx grunt
git commit
git push

flexboxgrid2

npm version

Modern 12 column grid system based on flex property.

Documentation

Motivation

Forked from kristoferjoseph/flexboxgrid because original project seems abandoned (kristoferjoseph/flexboxgrid#236, kristoferjoseph/flexboxgrid#229, kristoferjoseph/flexboxgrid#211, etc).

Breakpoints

  • xs: 0..575px
  • sm: 576..767px
  • md: 768..991px
  • lg: 992..1199px
  • xl: 1200px+
  • .container padding: 16px
  • .container width: $breakpoint - 32px
  • .col-* padding: 16px

Install

yarn

yarn add flexboxgrid2

npm

npm i -S flexboxgrid2

Usage

webpack

import 'flexboxgrid2'
// or if you use airbnb-config-eslint which explicitly wants .css extension
import 'flexboxgrid2/flexboxgrid2.css'

unpkg.com CDN

<link rel="stylesheet" href="https://unpkg.com/flexboxgrid2@[version]/flexboxgrid2.css">

Replace [version] with current version, f.e. 7.1.0

About

Modern 12 column grid system based on flex property

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 94.7%
  • JavaScript 5.3%