Add mct-example directive
This commit is contained in:
@@ -33,21 +33,11 @@
|
||||
<p>Use a standard button in locations where there's sufficient room and you must make it clear that the element is an interactive button element. Buttons can be displayed with only an icon, only text, or with icon and text combined.</p>
|
||||
<p>Use an icon whenever possible to aid the user's recognition and recall. If both and icon and text are to be used, the text must be within a <code>span</code> with class <code>.title-label</code>.</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3>Markup</h3>
|
||||
<pre>
|
||||
<a class="s-button icon-pencil"></a>
|
||||
<a class="s-button">Edit</a>
|
||||
<a class="s-button icon-pencil">
|
||||
<span class="title-label">Edit</span>
|
||||
</a></pre>
|
||||
<h3>Examples</h3>
|
||||
<a class="s-button icon-pencil"></a>
|
||||
<a class="s-button">Edit</a>
|
||||
<a class="s-button icon-pencil">
|
||||
<span class="title-label">Edit</span>
|
||||
</a>
|
||||
</div>
|
||||
<mct-example><a class="s-button icon-pencil"></a>
|
||||
<a class="s-button">Edit</a>
|
||||
<a class="s-button icon-pencil">
|
||||
<span class="title-label">Edit</span>
|
||||
</a></mct-example>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -157,10 +147,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user