Progress module quick reference
This commit is contained in:
parent
1c42f9aeff
commit
8bc46327c3
3 changed files with 16 additions and 6 deletions
|
@ -131,7 +131,7 @@
|
|||
<progress value="1000" max="1000"></progress>
|
||||
</div>
|
||||
<div class="col-sm-12 col-sm-first col-md-8 col-md-normal">
|
||||
<p>To create a progress bar, use the <code><progress></code> HTML element, specify the preset maximum of <code>max="1000"</code> and set a <code>value</code> between <code>0</code> and <code>1000</code>. Update your <code><progress></code> element using some Javascript code, by changing its <code>value</code> to any integer in the same range.</p>
|
||||
<p>To create a progress bar, use the <code><progress></code> HTML element, specify the preset maximum of <code><span class="fore-secondary">max</span>=<span class="fore-primary">"1000"</span></code> and set a <code>value</code> between <code>0</code> and <code>1000</code>. Update your <code><progress></code> element using some Javascript code, by changing its <code>value</code> to any integer in the same range.</p>
|
||||
<h3>Sample code</h3>
|
||||
<pre><progress value="0" max="1000"></progress>
|
||||
<progress value="450" max="1000"></progress>
|
||||
|
@ -195,7 +195,7 @@
|
|||
<pre><progress class="nano secondary" value="800" max="1000"></progress>
|
||||
<span class="fore-tertiary"><!-- or --></span>
|
||||
<progress class="inline tertiary" value="650" max="1000"></progress></pre>
|
||||
<p class="do"><mark class="tertiary">Do:</mark> You can mix size and color classes for <codde><progress></codde> elements as needed.</p>
|
||||
<p class="do"><mark class="tertiary">Do:</mark> You can mix size and color classes for <code><progress></code> elements as needed.</p>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-6 col-sm-last col-md-normal">
|
||||
<pre><progress class="secondary teriary" value="450" max="1000"></progress>
|
||||
|
|
|
@ -1002,7 +1002,9 @@
|
|||
<div class="col-sm-12 col-md-6">
|
||||
<h3>Notes</h3>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Use the <code><progress></code> element to create progress bars</li>
|
||||
<li>Set <code><span class="fore-secondary">max</span>=<span class="fore-primary">"1000"</span></code> and a <code>value</code> between <code>0</code> and <code>1000</code></li>
|
||||
<li>Do not use floating point values for the progress bar</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1017,7 +1019,9 @@
|
|||
<div class="col-sm-12 col-md-6">
|
||||
<h3>Notes</h3>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Color variants available using the <code>.secondary</code> and <code>.tertiary</code> classes</li>
|
||||
<li>Size variants available using the <code>.nano</code> and <code>.inline</code> classes</li>
|
||||
<li>Mix color and size variants, but not multiple of the same type</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1029,7 +1033,10 @@
|
|||
<div class="col-sm-12 col-md-6">
|
||||
<h3>Notes</h3>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Use the <code>.spinner-donut</code> class to create donut spinners</li>
|
||||
<li>Apply class to a <code><div></code> or <code><span></code> element</li>
|
||||
<li>Do not insert text inside the <code>.spinner-donut</code> element</li>
|
||||
<li>Donut spinners can display inline</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1043,7 +1050,9 @@
|
|||
<div class="col-sm-12 col-md-6">
|
||||
<h3>Notes</h3>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Color variants available using the <code>.secondary</code> and <code>.tertiary</code> classes</li>
|
||||
<li>Alternate size available using the <code>.large</code> class</li>
|
||||
<li>You can mix color variants with the <code>.large</code> class, but not with each other</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -687,3 +687,4 @@
|
|||
- Documented `card` in `quick reference`.
|
||||
- Documented `tab` in `quick reference`.
|
||||
- Documented `contextual` in `quick reference`.
|
||||
- Documented `progress` in `quick reference`.
|
||||
|
|
Loading…
Reference in a new issue