mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
72 lines
1.9 KiB
HTML
72 lines
1.9 KiB
HTML
---
|
|
title: Progess Bar
|
|
layout: documentation
|
|
doc-tab: elements
|
|
doc-subtab: progress
|
|
variables:
|
|
- name: $progress-bar-background-color
|
|
value: $border
|
|
- name: $progress-value-background-color
|
|
value: $text
|
|
---
|
|
|
|
{% capture progress %}
|
|
<progress class="progress" value="15" max="100">15%</progress>
|
|
{% endcapture %}
|
|
|
|
{% capture progress_colors %}
|
|
<progress class="progress is-primary" value="30" max="100">30%</progress>
|
|
<progress class="progress is-info" value="45" max="100">45%</progress>
|
|
<progress class="progress is-success" value="60" max="100">60%</progress>
|
|
<progress class="progress is-warning" value="75" max="100">75%</progress>
|
|
<progress class="progress is-danger" value="90" max="100">90%</progress>
|
|
{% endcapture %}
|
|
|
|
{% capture progress_sizes %}
|
|
<progress class="progress is-small" value="15" max="100">15%</progress>
|
|
<progress class="progress" value="30" max="100">30%</progress>
|
|
<progress class="progress is-medium" value="45" max="100">45%</progress>
|
|
<progress class="progress is-large" value="60" max="100">60%</progress>
|
|
{% endcapture %}
|
|
|
|
{% include subnav-elements.html %}
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<h1 class="title">Progress bars</h1>
|
|
<h2 class="subtitle">
|
|
Native HTML <strong>progress</strong> bars
|
|
</h2>
|
|
{%
|
|
include meta.html
|
|
colors=true
|
|
sizes=true
|
|
variables=true
|
|
%}
|
|
|
|
<hr>
|
|
|
|
<div class="bd-example">
|
|
{{ progress }}
|
|
</div>
|
|
{% highlight html %}{{ progress }}{% endhighlight %}
|
|
|
|
{% include anchor.html name="Colors" %}
|
|
|
|
<div class="bd-example">
|
|
{{ progress_colors }}
|
|
</div>
|
|
{% highlight html %}{{ progress_colors }}{% endhighlight %}
|
|
|
|
{% include anchor.html name="Sizes" %}
|
|
|
|
<div class="bd-example">
|
|
{{ progress_sizes }}
|
|
</div>
|
|
{% highlight html %}{{ progress_sizes }}{% endhighlight %}
|
|
|
|
{% include variables.html element=true %}
|
|
|
|
</div>
|
|
</section>
|