Skip to content

Commit

Permalink
Introduction for using table-reflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
florisverburg committed Mar 6, 2016
1 parent 48e02eb commit 1f258ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/content/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,16 @@ For more information, read [this Stack Overflow answer](https://stackoverflow.co


### Reflow
Turn traditional tables on their side by using `table-reflow`. When using reflow, the table header becomes the first column of the table, the first row within the table body becomes the second column, the second row becomes the third column, etc.

{% callout warning %}
#### Content order and complex tables

Beware that the `table-reflow` style changes the visual order of content. Make sure that you only apply this style to well-formed and simple data tables (and in particular, don't use this for layout tables) with appropriate `<th>` table header cells for each row and column.

In addition, this class will not work correctly for tables with cells that span multiple rows or columns (using `rowspan` or `colspan` attributes).

{% endcallout %}

{% example html %}
<table class="table table-reflow">
Expand Down

0 comments on commit 1f258ff

Please sign in to comment.