Welcome.. this serves as a really crappy sample page for the various features. One day i'll come back to this and make it purdy.

flexi

Flexi gives you flexible column controls, similar to bootstrap, except with more control over vertical alignment, flow-over, responsive reordering, and more. @TODO

Menu
A
A1
A2
C
D
E
F



shift / push / squish

These give you the ability to offset columns.

all specified, except for lg

xs-shift-1 sm-shift-1 md-shift-1 xl-shift-1 xxl-shift-1

set a shift & push to center an element to use the remaining space

shift-4 push-4

.shift-12
shift-8 md-shift-16

squish-4

full width, unless at XS size

xs-push-2 xs-20 xs-shift-2 sm-24

new line
xs-4, push-8

and a gap beside this appears

set a common shift, but remove for one breakpoint

shift-12 lg-shift-0

A more traditional example, centered box

shift-4 xs-16

v-align

line 1

line 2

bottom aligned



modal

gives us the ability to define a domNode as modal - with a simple to use triggering system

  1. Define an element as modal by adding a `modal` class: <div class="modal">
    • You may need to add an `id` or, ensure that this can be uniquely identified via a `document.querySelectorAll` (like jquery)
    • They are hidden by default
  2. Attach your show/hide/toggle somewhere, or to something...
    • Create a `hard` trigger with a dom node:<a href="#" data-modal-[show/hide/toggle]="#id_or_query_string">Click here</a>
      • If using the above, and you embed the button inside the modal, there is no need to define the value of the data-modal[show/hide/toggle], as it will automatically find the closest modal ancestor:<a href="#" data-modal-hide>Click here to hide</a>
    • Trigger in JSdocument.getElementById('show_my_modal').addEventListener('click', function() { modal('#id_or_query_string', 'show');});
      • The above wasnt tested, but you get the picture
    • trigger manually with an inline onclick event<span onclick="modal('#id_or_query_string', ['show'/'hide'/'toggle'])">Click here</span>
      • this is not a recommended way, but it does work
      • unlike the above, you must specify the query selector
Click Here or Toggle

.container

this should max out at `$container-size` (1200px), then center itself automatically


Headers: h1, h2, h3, h4, h5, h6

h1 - shrink to xs-5

h2 - 5 @ xs and sm

h3

h4

h5
h6
Normal font