@@ -11,61 +11,52 @@ features:
1111
1212@include ('_ partials.work-in-progress')
1313
14- <div class =" border-t border-grey-lighter " >
15- <table class =" w-full text-left table-collapse " >
16- <thead>
17- <tr>
18- <th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
19- <th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
20- <th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
21- </tr>
22- </thead>
23- <tbody class="align-baseline">
24- <tr>
25- <td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark whitespace-no-wrap">.block</td>
26- <td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark whitespace-no-wrap">display: block;</td>
27- <td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the box type of the element to <code>block</code>.</td>
28- </tr>
29- <tr>
30- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.inline-block</td>
31- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: inline-block;</td>
32- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>inline-block</code>.</td>
33- </tr>
34- <tr>
35- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.inline</td>
36- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: inline;</td>
37- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>inline</code>.</td>
38- </tr>
39- <tr>
40- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.table</td>
41- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: table;</td>
42- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>table</code>.</td>
43- </tr>
44- <tr>
45- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.table-row</td>
46- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: table-row;</td>
47- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>table-row</code>.</td>
48- </tr>
49- <tr>
50- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.table-cell</td>
51- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: table-cell;</td>
52- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>table-cell</code>.</td>
53- </tr>
54- <tr>
55- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.hidden</td>
56- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: none;</td>
57- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>none</code>.</td>
58- </tr>
59- <tr>
60- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.flex</td>
61- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: flex;</td>
62- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>flex</code>.</td>
63- </tr>
64- <tr>
65- <td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark whitespace-no-wrap">.inline-flex</td>
66- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark whitespace-no-wrap">display: inline-flex;</td>
67- <td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the box type of the element to <code>inline-flex</code>.</td>
68- </tr>
69- </tbody>
70- </table >
71- </div >
14+ @include ('_ partials.class-table', [
15+ 'rows' => [
16+ [
17+ '.block',
18+ 'display: block;',
19+ "Set the box type of the element to <code >block</code >.",
20+ ] ,
21+ [
22+ '.inline-block',
23+ 'display: inline-block;',
24+ "Set the box type of the element to <code >inline-block</code >.",
25+ ] ,
26+ [
27+ '.inline',
28+ 'display: inline;',
29+ "Set the box type of the element to <code >inline</code >.",
30+ ] ,
31+ [
32+ '.table',
33+ 'display: table;',
34+ "Set the box type of the element to <code >table</code >.",
35+ ] ,
36+ [
37+ '.table-row',
38+ 'display: table-row;',
39+ "Set the box type of the element to <code >table-row</code >.",
40+ ] ,
41+ [
42+ '.table-cell',
43+ 'display: table-cell;',
44+ "Set the box type of the element to <code >table-cell</code >.",
45+ ] ,
46+ [
47+ '.hidden',
48+ 'display: none;',
49+ "Set the box type of the element to <code >none</code >.",
50+ ] ,
51+ [
52+ '.flex',
53+ 'display: flex;',
54+ "Set the box type of the element to <code >flex</code >.",
55+ ] ,
56+ [
57+ '.inline-flex',
58+ 'display: inline-flex;',
59+ "Set the box type of the element to <code >inline-flex</code >.",
60+ ] ,
61+ ]
62+ ] )
0 commit comments