just-the-grid
v2.3.0
Published
Just a handy flex grid to build any layout you want.
Downloads
21
Maintainers
Readme
Just The Grid
Just a handy flex grid to build any layout you want.
About
The grid is build using the flex css property, which makes it easy to create any layout you want. If you are familiar with the Bootstrap Grid, you will find many similarities, if you are a novice - it will take only some minutes to understand, how it works.
Installation
There are several options, how you can install the grid:
Npm
npm i just-the-grid --save
GitHub
Documentation
Here is the list of classes:
Containers
.container
.container-fluid
Rows
.row
Direction
.direction-..-row (default behaviour | sm and up)
.direction-..-row-reverse
.direction-..-column
.direction-..-column-reverse
Main Axis Alignment
.align-..-start (default behaviour | sm and up)
.align-..-center
.align-..-end
.align-..-around
.align-..-between
Cross Axis Alignment
.align-..-stretch (default behaviour | sm and up)
.align-..-baseline
.align-..-top
.align-..-middle
.align-..-bottom
Columns
.col-(xs | sm | md | lg)-(1 - 12)
Offsets
.offset-(xs | sm | md | lg)-(0 - 12)
Ordering
.order-..-first
.order-..-last
Visibility
.hidden-..
.hidden-(xs | sm | md)-up
License
MIT