Difference between revisions of "Test Page"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) (→Grid) |
||
Line 71: | Line 71: | ||
</div> | </div> | ||
+ | === 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. | ||
+ | |||
+ | <div class="row"> | ||
+ | <div class="small-3 small-centered columns">3 centered</div> | ||
+ | </div> | ||
+ | <div class="row"> | ||
+ | <div class="small-6 large-centered columns">6 centered</div> | ||
+ | </div> | ||
+ | <div class="row"> | ||
+ | <div class="small-9 small-centered large-uncentered columns">9 centered</div> | ||
+ | </div> | ||
+ | <div class="row"> | ||
+ | <div class="small-11 small-centered columns">11 centered</div> | ||
+ | </div> | ||
== Tabs == | == Tabs == |
Revision as of 16:29, 9 June 2019
Contents
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.
Offset
Move blocks up to 11 columns to the right by using classes like .large-offset-1 and .small-offset-3.
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.
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.