Skip to content

Commit

Permalink
Content - Merge pull request #2201 from Garneauma/dl-inline
Browse files Browse the repository at this point in the history
Utility: dl-inline

Content - List utilities - Add example of a definition list inline
  • Loading branch information
duboisp authored Jul 18, 2023
2 parents d57d159 + bdf92a9 commit 1a6a7a8
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions common/list/lists-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,31 @@ <h4>code</h4>
&lt;li&gt;Item&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<h2 id="dl-inline">Inline description list</h2>
<p>Inline description list used to display short terms and descriptions.</p>

<dl class="dl-inline">
<dt>Term&nbsp;:</dt>
<dd>Short description</dd>
<dt>Term&nbsp;:</dt>
<dd>Short description</dd>
<dt>Term&nbsp;:</dt>
<dd>Short description</dd>
<dt>Term&nbsp;:</dt>
<dd>Short description</dd>
<dt>Term&nbsp;:</dt>
<dd>Short description</dd>
</dl>
<pre><code>&lt;dl class="dl-inline">
&lt;dt>Term&nbsp;:&lt;/dt>
&lt;dd>Short description&lt;/dd>
&lt;dt>Term&nbsp;:&lt;/dt>
&lt;dd>Short description&lt;/dd>
&lt;dt>Term&nbsp;:&lt;/dt>
&lt;dd>Short description&lt;/dd>
&lt;dt>Term&nbsp;:&lt;/dt>
&lt;dd>Short description&lt;/dd>
&lt;dt>Term&nbsp;:&lt;/dt>
&lt;dd>Short description&lt;/dd>
&lt;/dl></code></pre>
28 changes: 28 additions & 0 deletions common/list/lists-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,3 +386,31 @@ <h4>code</h4>
&lt;/ul&gt;
</code></pre>
</div>

<h2 id="dl-inline">Liste descriptive en ligne</h2>
<p>List descriptive en ligne utilisée pour afficher des termes et descriptions courts.</p>

<dl class="dl-inline">
<dt>Terme&nbsp;:</dt>
<dd>Description courte</dd>
<dt>Terme&nbsp;:</dt>
<dd>Description courte</dd>
<dt>Terme&nbsp;:</dt>
<dd>Description courte</dd>
<dt>Terme&nbsp;:</dt>
<dd>Description courte</dd>
<dt>Terme&nbsp;:</dt>
<dd>Description courte</dd>
</dl>
<pre><code>&lt;dl class="dl-inline">
&lt;dt>Terme&nbsp;:&lt;/dt>
&lt;dd>Description courte&lt;/dd>
&lt;dt>Terme&nbsp;:&lt;/dt>
&lt;dd>Description courte&lt;/dd>
&lt;dt>Terme&nbsp;:&lt;/dt>
&lt;dd>Description courte&lt;/dd>
&lt;dt>Terme&nbsp;:&lt;/dt>
&lt;dd>Description courte&lt;/dd>
&lt;dt>Terme&nbsp;:&lt;/dt>
&lt;dd>Description courte&lt;/dd>
&lt;/dl></code></pre>

0 comments on commit 1a6a7a8

Please sign in to comment.