Skip to content

queckezz/grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo for structs/grid

latest github tag package manager license

Simple responsive css grid based on flexbox.

Installation

Via duo:

@import 'structs/grid'

Via npm:

npm install structs-grid

You need to make sure you use one of the following preprocessors in your duo build process to provide support for css variables and custom media queries:

Usage

Extensive documentation will be coming soon. For now look at the existing tests or at the source.

Customization

After you imported the grid you can customize the variables by using the :root selector:

:root {
  --property: value;
}

gutter-y, gutter-x

  • Defaults to 1em

Defines the spacing between the given grid cells.

container-width

  • Defaults to 64em

Defines the max-width for the utility class u-contain.

License

MIT

About

Simple responsive css grid based on flexbox

Resources

Stars

Watchers

Forks

Packages

No packages published