Use class table partial for sizing docs pages
This commit is contained in:
parent
dafbd7d128
commit
6518e8265a
6 changed files with 334 additions and 418 deletions
|
|
@ -11,106 +11,92 @@ features:
|
|||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left table-collapse">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.h-1</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">height: 0.25rem;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the element's height to <code>0.25rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-2</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 0.5rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>0.5rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-3</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 0.75rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>0.75rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-4</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 1rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>1rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-6</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 1.5rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>1.5rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-8</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 2rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>2rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-10</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 2.5rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>2.5rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-12</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 3rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>3rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-16</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 4rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>4rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-24</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 6rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>6rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-32</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 8rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>8rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-48</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 12rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>12rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-64</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 16rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>16rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-auto</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: auto;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>auto</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-px</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 1px;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>1px</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-full</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 100%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>100%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.h-screen</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">height: 100vh;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's height to <code>100vh</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@include('_partials.class-table', [
|
||||
'rows' => [
|
||||
[
|
||||
'.h-1',
|
||||
'height: 0.25rem;',
|
||||
"Set the element's height to <code>0.25rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-2',
|
||||
'height: 0.5rem;',
|
||||
"Set the element's height to <code>0.5rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-3',
|
||||
'height: 0.75rem;',
|
||||
"Set the element's height to <code>0.75rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-4',
|
||||
'height: 1rem;',
|
||||
"Set the element's height to <code>1rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-6',
|
||||
'height: 1.5rem;',
|
||||
"Set the element's height to <code>1.5rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-8',
|
||||
'height: 2rem;',
|
||||
"Set the element's height to <code>2rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-10',
|
||||
'height: 2.5rem;',
|
||||
"Set the element's height to <code>2.5rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-12',
|
||||
'height: 3rem;',
|
||||
"Set the element's height to <code>3rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-16',
|
||||
'height: 4rem;',
|
||||
"Set the element's height to <code>4rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-24',
|
||||
'height: 6rem;',
|
||||
"Set the element's height to <code>6rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-32',
|
||||
'height: 8rem;',
|
||||
"Set the element's height to <code>8rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-48',
|
||||
'height: 12rem;',
|
||||
"Set the element's height to <code>12rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-64',
|
||||
'height: 16rem;',
|
||||
"Set the element's height to <code>16rem</code>.",
|
||||
],
|
||||
[
|
||||
'.h-auto',
|
||||
'height: auto;',
|
||||
"Set the element's height to <code>auto</code>.",
|
||||
],
|
||||
[
|
||||
'.h-px',
|
||||
'height: 1px;',
|
||||
"Set the element's height to <code>1px</code>.",
|
||||
],
|
||||
[
|
||||
'.h-full',
|
||||
'height: 100%;',
|
||||
"Set the element's height to <code>100%</code>.",
|
||||
],
|
||||
[
|
||||
'.h-screen',
|
||||
'height: 100vh;',
|
||||
"Set the element's height to <code>100vh</code>.",
|
||||
],
|
||||
]
|
||||
])
|
||||
|
|
|
|||
|
|
@ -11,31 +11,17 @@ features:
|
|||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left table-collapse">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.max-h-full</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">max-height: 100%;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the element's maximum height to <code>100%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-h-screen</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-height: 100vh;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum height to <code>100vh</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@include('_partials.class-table', [
|
||||
'rows' => [
|
||||
[
|
||||
'.max-h-full',
|
||||
'max-height: 100%;',
|
||||
"Set the element's maximum height to <code>100%</code>.",
|
||||
],
|
||||
[
|
||||
'.max-h-screen',
|
||||
'max-height: 100vh;',
|
||||
"Set the element's maximum height to <code>100vh</code>.",
|
||||
],
|
||||
]
|
||||
])
|
||||
|
|
|
|||
|
|
@ -11,71 +11,57 @@ features:
|
|||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left table-collapse">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.max-w-xs</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">max-width: 20rem;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the element's maximum width to <code>20rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-sm</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 30rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>30rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-md</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 40rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>40rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-lg</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 50rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>50rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-xl</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 60rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>60rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-2xl</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 70rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>70rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-3xl</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 80rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>80rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-4xl</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 90rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>90rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-5xl</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 100rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>100rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.max-w-full</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">max-width: 100%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's maximum width to <code>100%</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@include('_partials.class-table', [
|
||||
'rows' => [
|
||||
[
|
||||
'.max-w-xs',
|
||||
'max-width: 20rem;',
|
||||
"Set the element's maximum width to <code>20rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-sm',
|
||||
'max-width: 30rem;',
|
||||
"Set the element's maximum width to <code>30rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-md',
|
||||
'max-width: 40rem;',
|
||||
"Set the element's maximum width to <code>40rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-lg',
|
||||
'max-width: 50rem;',
|
||||
"Set the element's maximum width to <code>50rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-xl',
|
||||
'max-width: 60rem;',
|
||||
"Set the element's maximum width to <code>60rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-2xl',
|
||||
'max-width: 70rem;',
|
||||
"Set the element's maximum width to <code>70rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-3xl',
|
||||
'max-width: 80rem;',
|
||||
"Set the element's maximum width to <code>80rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-4xl',
|
||||
'max-width: 90rem;',
|
||||
"Set the element's maximum width to <code>90rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-5xl',
|
||||
'max-width: 100rem;',
|
||||
"Set the element's maximum width to <code>100rem</code>.",
|
||||
],
|
||||
[
|
||||
'.max-w-full',
|
||||
'max-width: 100%;',
|
||||
"Set the element's maximum width to <code>100%</code>.",
|
||||
],
|
||||
]
|
||||
])
|
||||
|
|
|
|||
|
|
@ -11,36 +11,22 @@ features:
|
|||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left table-collapse">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.min-h-0</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">min-height: 0;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the element's minimum height to <code>0</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.min-h-full</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">min-height: 100%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's minimum height to <code>100%</code>.</td>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.min-h-screen</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">min-height: 100vh;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's minimum height to <code>100vh</code>.</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@include('_partials.class-table', [
|
||||
'rows' => [
|
||||
[
|
||||
'.min-h-0',
|
||||
'min-height: 0;',
|
||||
"Set the element's minimum height to <code>0</code>.",
|
||||
],
|
||||
[
|
||||
'.min-h-full',
|
||||
'min-height: 100%;',
|
||||
"Set the element's minimum height to <code>100%</code>.",
|
||||
],
|
||||
[
|
||||
'.min-h-screen',
|
||||
'min-height: 100vh;',
|
||||
"Set the element's minimum height to <code>100vh</code>.",
|
||||
],
|
||||
]
|
||||
])
|
||||
|
|
|
|||
|
|
@ -11,31 +11,17 @@ features:
|
|||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left table-collapse">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.min-w-0</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">min-width: 0;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the element's minimum width to <code>0</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.min-w-full</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">min-width: 100%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's minimum width to <code>100%</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@include('_partials.class-table', [
|
||||
'rows' => [
|
||||
[
|
||||
'.min-w-0',
|
||||
'min-width: 0;',
|
||||
"Set the element's minimum width to <code>0</code>.",
|
||||
],
|
||||
[
|
||||
'.min-w-full',
|
||||
'min-width: 100%;',
|
||||
"Set the element's minimum width to <code>100%</code>.",
|
||||
],
|
||||
]
|
||||
])
|
||||
|
|
|
|||
|
|
@ -11,161 +11,147 @@ features:
|
|||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left table-collapse">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.w-1</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">width: 0.25rem;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the element's width to <code>0.25rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-2</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 0.5rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>0.5rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-3</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 0.75rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>0.75rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-4</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 1rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>1rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-6</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 1.5rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>1.5rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-8</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 2rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>2rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-10</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 2.5rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>2.5rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-12</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 3rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>3rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-16</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 4rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>4rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-24</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 6rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>6rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-32</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 8rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>8rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-48</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 12rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>12rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-64</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 16rem;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>16rem</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-auto</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: auto;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>auto</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-px</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 1px;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>1px</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-1/2</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 50%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>50%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-1/3</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 33.33333%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>33.33333%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-2/3</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 66.66667%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>66.66667%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-1/4</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 25%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>25%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-3/4</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 75%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>75%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-1/5</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 20%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>20%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-2/5</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 40%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>40%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-3/5</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 60%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>60%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-4/5</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 80%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>80%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-1/6</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 16.66667%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>16.66667%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-5/6</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 83.33333%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>83.33333%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-full</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 100%;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>100%</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.w-screen</td>
|
||||
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">width: 100vw;</td>
|
||||
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Set the element's width to <code>100vw</code>.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@include('_partials.class-table', [
|
||||
'rows' => [
|
||||
[
|
||||
'.w-1',
|
||||
'width: 0.25rem;',
|
||||
"Set the element's width to <code>0.25rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-2',
|
||||
'width: 0.5rem;',
|
||||
"Set the element's width to <code>0.5rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-3',
|
||||
'width: 0.75rem;',
|
||||
"Set the element's width to <code>0.75rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-4',
|
||||
'width: 1rem;',
|
||||
"Set the element's width to <code>1rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-6',
|
||||
'width: 1.5rem;',
|
||||
"Set the element's width to <code>1.5rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-8',
|
||||
'width: 2rem;',
|
||||
"Set the element's width to <code>2rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-10',
|
||||
'width: 2.5rem;',
|
||||
"Set the element's width to <code>2.5rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-12',
|
||||
'width: 3rem;',
|
||||
"Set the element's width to <code>3rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-16',
|
||||
'width: 4rem;',
|
||||
"Set the element's width to <code>4rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-24',
|
||||
'width: 6rem;',
|
||||
"Set the element's width to <code>6rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-32',
|
||||
'width: 8rem;',
|
||||
"Set the element's width to <code>8rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-48',
|
||||
'width: 12rem;',
|
||||
"Set the element's width to <code>12rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-64',
|
||||
'width: 16rem;',
|
||||
"Set the element's width to <code>16rem</code>.",
|
||||
],
|
||||
[
|
||||
'.w-auto',
|
||||
'width: auto;',
|
||||
"Set the element's width to <code>auto</code>.",
|
||||
],
|
||||
[
|
||||
'.w-px',
|
||||
'width: 1px;',
|
||||
"Set the element's width to <code>1px</code>.",
|
||||
],
|
||||
[
|
||||
'.w-1/2',
|
||||
'width: 50%;',
|
||||
"Set the element's width to <code>50%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-1/3',
|
||||
'width: 33.33333%;',
|
||||
"Set the element's width to <code>33.33333%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-2/3',
|
||||
'width: 66.66667%;',
|
||||
"Set the element's width to <code>66.66667%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-1/4',
|
||||
'width: 25%;',
|
||||
"Set the element's width to <code>25%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-3/4',
|
||||
'width: 75%;',
|
||||
"Set the element's width to <code>75%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-1/5',
|
||||
'width: 20%;',
|
||||
"Set the element's width to <code>20%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-2/5',
|
||||
'width: 40%;',
|
||||
"Set the element's width to <code>40%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-3/5',
|
||||
'width: 60%;',
|
||||
"Set the element's width to <code>60%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-4/5',
|
||||
'width: 80%;',
|
||||
"Set the element's width to <code>80%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-1/6',
|
||||
'width: 16.66667%;',
|
||||
"Set the element's width to <code>16.66667%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-5/6',
|
||||
'width: 83.33333%;',
|
||||
"Set the element's width to <code>83.33333%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-full',
|
||||
'width: 100%;',
|
||||
"Set the element's width to <code>100%</code>.",
|
||||
],
|
||||
[
|
||||
'.w-screen',
|
||||
'width: 100vw;',
|
||||
"Set the element's width to <code>100vw</code>.",
|
||||
],
|
||||
]
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue