Skip to content

lucaspark/gridbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Gridbot

###The obedient grid system.###


Gridbot is (yet) another grid, with the advantage of being extremely lightweight, easy-to-use, with allowance of different grid sizes for mobile browser widths (as opposed to 100% width for any and all content with most lightweight grids).

Visit the GridBot page for more detailed information as well as examples; however, a basic structure is below:


<div class="group">
    <div class="d12 m6"><!--Content--></div>
</div>

The d class represents the desktop width of the content. The default number for the grid is 12, so in this case, the grid will be full-width on browsers wide enough to be considered "desktop" size (This size and associated mobile breakpoint can be changed).

The m class represents how wide the content will be at mobile widths. In this case, the content will be half the width of the browser. The m must always be accompanied by the d class. If no m class is present, the grid will default to 100% width in mobile views.


Contents

  • CSS file (Defaults: 12 Grid, 2% Gutter, 1200px max width, 768px break point)
  • Minified CSS File (1 kb)
  • SCSS file (edited with SASS)

With the SCSS file, you can change settings like break points, max width of content, number of grid units, and the gutter.

License

MIT

Releases

No releases published

Packages

No packages published

Languages