akronb / flexboxgrid2

Grid based on flex

Home Page:https://evgenyrodionov.github.io/flexboxgrid2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flexboxgrid2

npm version

Grid based on the flex display property.

Values

  • .container padding: .5rem,
  • .container width: $breakpoint - 1rem,
  • .col-* padding: .5rem.

Breakpoints

  • xs: 0..575px
  • sm: 576..767px
  • md: 768..991px
  • lg: 992..1199px
  • xl: 1200px+

Install

yarn

yarn add flexboxgrid2

npm

npm i -S flexboxgrid2

Usage

webpack

import 'flexboxgrid2'
// or if it don't work
import 'flexboxgrid2/flexboxgrid2.css'

unpkg.com CDN

<link rel="stylesheet" href="//unpkg.com/flexboxgrid2" >

Inspiration

  • based on flexboxgrid, but looks like project was abandoned

About

Grid based on flex

https://evgenyrodionov.github.io/flexboxgrid2/

License:Other


Languages

Language:CSS 87.9%Language:JavaScript 12.1%