mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
commit
daedcca8de
@ -11,7 +11,7 @@ Stylize [the HTML5 `<progress>` element](https://developer.mozilla.org/en-US/doc
|
|||||||
* Will be replaced with the ToC, excluding the "Contents" header
|
* Will be replaced with the ToC, excluding the "Contents" header
|
||||||
{:toc}
|
{:toc}
|
||||||
|
|
||||||
### Example
|
## Example
|
||||||
|
|
||||||
To caption a progress bar, simply add a `<div>` with your caption text, [align the text using a utility class]({{ site.baseurl }}/components/utilities/#text-alignment), and associate the caption with the `<progress>` element using the `aria-describedby` attribute.
|
To caption a progress bar, simply add a `<div>` with your caption text, [align the text using a utility class]({{ site.baseurl }}/components/utilities/#text-alignment), and associate the caption with the `<progress>` element using the `aria-describedby` attribute.
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ To caption a progress bar, simply add a `<div>` with your caption text, [align t
|
|||||||
<progress class="progress" value="100" max="100" aria-describedby="example-caption-5"></progress>
|
<progress class="progress" value="100" max="100" aria-describedby="example-caption-5"></progress>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
|
||||||
### IE9 support
|
## IE9 support
|
||||||
|
|
||||||
Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can work around that.
|
Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can work around that.
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can w
|
|||||||
</progress>
|
</progress>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
|
||||||
### Contextual alternatives
|
## Contextual alternatives
|
||||||
|
|
||||||
Progress bars use some of the same button and alert classes for consistent styles.
|
Progress bars use some of the same button and alert classes for consistent styles.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user