Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.
/ groundwork Public archive

Groundwork is a lightweight, responsive, BEM inspired, CSS grid.

License

Notifications You must be signed in to change notification settings

crgeary/groundwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groundwork

Groundwork is a lightweight, responsive, BEM inspired, CSS grid.


Roadmap

  • Add fixed width containers
  • Convert to @mixins
  • Tests

Configuration

Groundwork variables can be overwritten to suit your grid requirements. The following variables are Groundworks defaults.

$groundwork-columns: 12;
$groundwork-gutter-width: 20px;
$groundwork-container-gutter: $groundwork-gutter-width * 2;
$groundwork-breakpoints: (xs, 576px), (sm, 768px), (md, 992px), (lg, 1200px);

$groundwork-class-container: 'container';
$groundwork-class-row: 'row';
$groundwork-class-column: 'column';

Usage

Groundwork classes are heavily based on Bootstrap classes. An example of the markup is shown below.

<div class="container">
    <div class="row">
        <div class="column column--sm-6 column--xs-4">
            
        </div>
        <div class="column column--sm-3 column--xs-4">
            
        </div>
        <div class="column column--sm-3 column--xs-4">
            
        </div>
    </div>
</div>

If you would prefer fluid containers, you can use .container--fluid, an examples is below:

<div class="container container--fluid">
    <div class="row">
        
    </div>
</div>

Why?

Because the internet already has too many grids. Another won't hurt anyone. Also they're fun to build.

License

The MIT License (MIT).

About

Groundwork is a lightweight, responsive, BEM inspired, CSS grid.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages