Skip to content

Commit c28e852

Browse files
Merge pull request #17 from CastleCSS/feature/issue#16_.as-classes
Issue #16 inventory of .as-classes
2 parents ade1599 + b7b9f5e commit c28e852

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

views/grid.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ <h5>Example without wrapping</h5>
576576

577577

578578
<h3>Align self</h3>
579-
<p>With the <code>as-</code> class addition to the <code>gi</code> class you can align grid items vertically to the <strong>secondary axis</strong> of the grid.</p>
579+
<p>With the <code>as-</code> class addition to the direct child of <code>g</code> class you can align grid items vertically to the <strong>secondary axis</strong> of the grid.</p>
580580
<div class="specs">
581581
<table>
582582
<tr>
@@ -591,17 +591,25 @@ <h3>Align self</h3>
591591
<td>as-flex-end</td>
592592
<td>align-self: flex-end;</td>
593593
</tr>
594+
<tr>
595+
<td>as-stretch</td>
596+
<td>align-self: stretch;</td>
597+
</tr>
594598
<tr>
595599
<td>as-center</td>
596600
<td>align-self: center;</td>
597601
</tr>
598602
<tr>
599-
<td>as-space-around</td>
600-
<td>align-self: space-around;</td>
603+
<td>as-baseline</td>
604+
<td>align-self: baseline;</td>
605+
</tr>
606+
<tr>
607+
<td>as-initial</td>
608+
<td>align-self: initial;</td>
601609
</tr>
602610
<tr>
603-
<td>as-space-between</td>
604-
<td>align-self: space-between;</td>
611+
<td>as-inherit</td>
612+
<td>align-self: inherit;</td>
605613
</tr>
606614
</table>
607615
</div>

0 commit comments

Comments
 (0)