Add cheatsheet table to border styles docs

This commit is contained in:
Jonathan Reinink 2017-10-31 18:34:33 -04:00
parent 9e8d298f66
commit 6ad803cc45

View file

@ -18,3 +18,31 @@ title: "Border Style"
@include('_partials.work-in-progress')
<div class="border-t border-grey-lighter">
<table class="w-full text-left" style="border-collapse: collapse;">
<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">.border-dashed</td>
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">border-style: dashed;</td>
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Sets the border style on an element to dashed.</td>
</tr>
<tr>
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.border-dotted</td>
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">border-style: dotted;</td>
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Sets the border style on an element to dotted.</td>
</tr>
<tr>
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.border-none</td>
<td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-dark">border-style: none;</td>
<td class="p-2 border-t border-smoke-light text-sm text-grey-darker">Disables the border on an element.</td>
</tr>
</tbody>
</table>
</div>