2021-07-06 15:57:20 +00:00
|
|
|
---
|
|
|
|
class: css
|
|
|
|
---
|
|
|
|
# definition-table
|
|
|
|
|
|
|
|
Simple CSS component to render a `dl` similar to a table with column headers.
|
|
|
|
|
|
|
|
```hbs preview-template
|
|
|
|
<div class="definition-table">
|
|
|
|
<dl>
|
|
|
|
<dt>Title 1</dt>
|
|
|
|
<dd>Value</dd>
|
|
|
|
<dt>Title 2</dt>
|
2022-07-07 16:42:47 +00:00
|
|
|
<dd>
|
|
|
|
<CopyableCode
|
|
|
|
@name="Title 2"
|
|
|
|
@value="Value"
|
|
|
|
/>
|
|
|
|
</dd>
|
2021-07-06 15:57:20 +00:00
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```css
|
|
|
|
.definition-table {
|
|
|
|
@extend %definition-table;
|
|
|
|
}
|
|
|
|
```
|