Susyboot

Susy-powered Bootstrap grid replacement

Goals

  • Provide content managers with the grid classes, which they are familiar with
  • Make the move from Bootstrap 3 grid to Susy 2 grid smooth

Note

It is not a pixel-perfect replacement because of the differences in calculating gutters. The gutters have fixed size in Bootstrap (15px). In Susy, they are calculated dynamically.

Features

  • The classes you know and like:
    • .container, .container-fluid
    • .row
    • .col-xs-n, .col-sm-n, .col-md-n, .col-lg-n
    • .col-xs-offset-n, .col-sm-offset-n, .col-md-offset-n, .col-lg-offset-n
    • .col-xs-pull-n, .col-sm-pull-n, .col-md-pull-n, .col-lg-pull-n
    • .col-xs-push-n, .col-sm-push-n, .col-md-push-n, .col-lg-push-n

Example

Compare output of test_bootstrap.html and test_susyboot.html.

Please note that the gutters are different. Read this note for more detail.

How to use

CSS:

Just include susyboot.css into your page head:

<link href="css/susyboot.css" type="text/css" rel="stylesheet" media="all" />

SASS:

We are planning publishing a Ruby gem in the future. For now, simply copy susyboot.css into your sass or scss folder, change the extension to scss and import as usual:

@import "susyboot";

Roadmap

  • Fix nested column margin
  • Make the project available as a gem

Normalize.css

For improved cross-browser rendering, we use the same version of Normalize.css, a project by Nicolas Gallagher and Jonathan Neal, which is included in Bootstrap.