- Home
- gridding
Get it how you need it.
Types
Rows, Columns, and items… oh my 🙂
self made
Rows
thirds-1
thirds-1
thirds-1
fourths-1
fourths-1
fourths-1
fourths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
Columns
thirds-1
thirds-1
thirds-1
thirds-1
thirds-1
thirds-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
offset
Parentally controlled
Rows
thirds-1
thirds-1
thirds-1
fourths-1
fourths-1
fourths-1
fourths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
In this example we can see that the parent is asking for the child nodes to have a width of kids-tenths-1
which
means that we would see css of kids-tenths-1 > *
. The cascade order is used to make sure that even though
we have kids-tenths-1 > *
set on the parent, when the child has it’s own size, we listen to the child. In
this case we have the child not setting a size so the tenths-1
requested by the parent is honored.
<div class="flex-row kids-tenths-1">
<div>ends up as tenths-1</div>
<div>ends up as tenths-1</div>
<div>ends up as tenths-1</div>
. . .
</div>
Columns
thirds-1
thirds-1
thirds-1
thirds-1
thirds-1
thirds-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
Self controll over Parentally controlled
Rows
thirds-1
thirds-1
thirds-1
fourths-1
fourths-1
fourths-1
fourths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
In this example we can see that the parent is asking for the child nodes to have a width of kids-tenths-1
which
means that we would see css of kids-tenths-1 > *
. The cascade order is used to make sure that even though
we have kids-tenths-1 > *
set on the parent, when the child has it’s own size, we listen to the child. In
this case we have the child saying it’ll be thirds-1
not the tenths-1
requested by the parent.
<div class="flex-row kids-tenths-1">
<div class="thirds-1">ends up as thirds-1</div>
<div class="thirds-1">ends up as thirds-1</div>
<div class="thirds-1">ends up as thirds-1</div>
</div>
Columns
thirds-1
thirds-1
thirds-1
thirds-1
thirds-1
thirds-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fourths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
fifths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
sixths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
eighths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
ninths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
tenths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
twelfths-1
No diff? Wonderful!
We want to keep a node to ge able to over write the parents commands. This keeps with the cascading style sheet methodilogy
and is what will provide the most flexable usage of the system.
Lets show flowing rows and Columns
Grid of row items
Rows are straight forward, you need to have basically static widths, and they need to be justified to the direction of your
intent.
Basic needed classes for the effect flex-row wrap justify-start
<div class="flex-row wrap pad-airy justify-start kids-fifths-1 js-kids-max-size-at-75"></div>
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Grid of column items
Columns are a little more settings but stil easy to get going. Depending on your need to have basically static heights, and
if needed widths. The items to be justified to the direction of your intent but also need to know what the content direction
is as well. Other wise it is the same idea as rows.
NOTE: The style="height:45vw"
in the example code is to better hightlight the effect, not the nessisary
driver of the effect but it is worth noting that height of the parent is a major driver on a layout.
Basic needed classes for the effect flex-column wrap justify-start content-start
<div style="height:45vw" class="flex-column wrap pad-airy justify-start content-start js-kids-hold-at-75 js-kids-hold-at-height-75"></div>
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
all-but & hold-at
This is an awsome tool, but there is a drawback currently, that is it is a very case by case need. We could guess at sizes
but we don’t want to add more bloat to the system. Instead there is a split in difference, you get the hold/all-but system
at the break points you set for the frame work, but you also have asscess to the js- active option which will let you
choose to hold at 12 or 942 or what have you. Just like everything, modoration produces the best effect.
Loaded breakpotions version
NOTE: The theme currently loaded only have break points set for 320 480 and 996
.hold-at-320
.all-but-320 (measuring at )
.hold-at-360
.all-but-360 (measuring at )
.hold-at-375
.all-but-375 (measuring at )
.hold-at-384
.all-but-384 (measuring at )
.hold-at-390
.all-but-390 (measuring at )
.hold-at-400
.all-but-400 (measuring at )
.hold-at-414
.all-but-414 (measuring at )
.hold-at-480
.all-but-480 (measuring at )
.hold-at-568
.all-but-568 (measuring at )
.hold-at-600
.all-but-600 (measuring at )
Generated sampling version
.js-all-but-50 (measuring at )
.js-hold-at-50
.js-all-but-423 (measuring at )
.js-hold-at-423
.js-all-but-256 (measuring at )
.js-hold-at-256
.js-all-but-152 (measuring at )
.js-hold-at-152
.js-all-but-390 (measuring at )
.js-hold-at-390
.js-all-but-400 (measuring at )
.js-hold-at-400
.js-all-but-414 (measuring at )
.js-hold-at-414
.js-all-but-180 (measuring at )
.js-hold-at-180
.js-all-but-351 (measuring at )
.js-hold-at-351
tills
.js-all-but-50-till-490 order-2
.js-hold-at-50-till-490 order-1
.js-all-but-423-till-490 order-1
.js-hold-at-423-till-490 order-2
.js-all-but-256-till-490 order-2
.js-hold-at-256-till-490 order-1
.js-all-but-152-till-490 order-1
.js-hold-at-152-till-490 order-2
.js-all-but-390-till-490 order-2
.js-hold-at-390-till-490 order-1
.js-all-but-400-till-490 order-1
.js-hold-at-400-till-490 order-2
.js-all-but-414-till-490 order-2
.js-hold-at-414-till-490 order-1
.js-all-but-180-till-490 order-1
.js-hold-at-180-till-490 order-2
.js-all-but-351-till-490 order-2
.js-hold-at-351-till-490 order-1
use .reset
Test
Test with reset
How to height
Using the height means you are controlling the height with in a space. If the space is not controlling it’s own height, then
you may not get the desiered effect. The most commond issue will be “I want it to be % of the window”. Toi do this, the
parent element must be 100% of the window inorder for the child to be a % of it. The body element is independant of the
window so simpley put, set the parent element to the height of the window and the child’s declared height will be that
of the window.