Skip to content

jsunier/flexboxgrid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flexbox Grid

Forked from original project: kristoferjoseph/flexboxgrid - flexboxgrid.com

Grid based on the flex display property.

Usage

The only difference between the original one and this fork is the implementation of hidden-XX class.

Example:

<div class="row">
    <div class="col-xs-12 col-md-4 col-lg-6">
        <p>This one is always visible</p>
    </div>
    <div class="col-xs-12 col-md-4 hidden-lg">
        <p>This one is hidden on large devices</p>
    </div>
    <div class="col-xs-12 col-md-4 col-lg-6">
        <p>This one is always visible</p>
    </div>
</div>

All hidden classes:

  • hidden-xs : Hidden on extra-small devices
  • hidden-sm : Hidden on small devices
  • hidden-md : Hidden on medium devices
  • hidden-lg : Hidden on large devices

Install

npm

npm i flexboxgrid --save

bower

bower install flexboxgrid

cdn

CDNJS

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css" >

css

Add the flexboxgrid.css development or flexboxgrid.min.css production to your html page.

<link rel="stylesheet" href="css/flexboxgrid.min.css" type="text/css">

Inspiration

About

💥Grid based on CSS3 flexbox💥

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 75.2%
  • CSS 21.1%
  • JavaScript 3.7%