Actions

Test Page

From Titan's Teeth

Revision as of 16:29, 9 June 2019 by Dicemonger (talk | contribs) (Grid)

Block Grid

Block grids are made from a ul.small-block-grid-# or ul.large-block-grid-#. These are ideal for blocked-in content generated by an application, as they do not require rows or even numbers of elements to display correctly.

These have a bit of flexibility since you have access to two separate grids between our built in 768px breakpoint. If you use the small-block-grid only, the grid will keep its spacing and configuration no matter the screen size. If you use large-block-grid only, the list items will stack on top of each other for small devices. If you use both of those classes combined, you can control the configuration and layout separately for each breakpoint.

  • Hello
  • Sweeties
  • Do what the man says
  • Duck
  • This is the first panel of the basic tab example. You can place all sorts of content here including a grid.
  • This is the first panel of the basic tab example. You can place all sorts of content here including a grid.
  • This is the first panel of the basic tab example. You can place all sorts of content here including a grid.
  • This is the first panel of the basic tab example. You can place all sorts of content here including a grid.

Grid

12 Wide

Basic Grids

Specify the widths of each column with the small-#, medium-#, and large-# classes.

...
...
...
...
...
...

Small grids expand to large screens easier than large grids cram into small screens.

2 columns
10 columns
3 columns
9 columns

Offset

Move blocks up to 11 columns to the right by using classes like .large-offset-1 and .small-offset-3.

1
10, offset 1

Collapse/Uncollapse Rows

The collapse class lets you remove column gutters (padding).

There are times when you won't want each media query to be collapsed or uncollapsed. In this case, use the media query size you want and collapse or uncollapse and add that to your row element. Example removes the gutter at the large breakpoint and then adds the gutter to columns at medium and small.

       Removes gutter at large media query
       Removes gutter at large media query

Centered Columns

Center your columns by adding a class of small-centered to your column. Large will inherit small centering by default, but you can also center solely on large by applying a large-centered class. To uncenter on large screens use large-uncentered.

3 centered
6 centered
9 centered
11 centered

Tabs

This is the first panel of the basic tab example. You can place all sorts of content here including a grid.

This is the second panel of the basic tab example. This is the second panel of the basic tab example.

This is the third panel of the basic tab example. This is the third panel of the basic tab example.

This is the fourth panel of the basic tab example. This is the fourth panel of the basic tab example.


This is the first panel of the basic tab example. You can place all sorts of content here including a grid.

This is the second panel of the basic tab example. This is the second panel of the basic tab example.

This is the third panel of the basic tab example. This is the third panel of the basic tab example.

This is the fourth panel of the basic tab example. This is the fourth panel of the basic tab example.