Minor Markdown consistency changes.
This commit is contained in:
parent
71c06b75c6
commit
7e6374db92
|
@ -2,8 +2,7 @@
|
||||||
layout: docs
|
layout: docs
|
||||||
title: History
|
title: History
|
||||||
description: A brief overview of the history of Bootstrap.
|
description: A brief overview of the history of Bootstrap.
|
||||||
redirect_from:
|
redirect_from: "/docs/4.0/about/"
|
||||||
- /docs/4.0/about/
|
|
||||||
group: about
|
group: about
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ title: Breadcrumb
|
||||||
description: Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS.
|
description: Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS.
|
||||||
group: components
|
group: components
|
||||||
---
|
---
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content).
|
Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content).
|
||||||
|
|
|
@ -25,6 +25,7 @@ In order for assistive technologies (such as screen readers) to convey that a se
|
||||||
|
|
||||||
In addition, groups and toolbars should be given an explicit label, as most assistive technologies will otherwise not announce them, despite the presence of the correct role attribute. In the examples provided here, we use `aria-label`, but alternatives such as `aria-labelledby` can also be used.
|
In addition, groups and toolbars should be given an explicit label, as most assistive technologies will otherwise not announce them, despite the presence of the correct role attribute. In the examples provided here, we use `aria-label`, but alternatives such as `aria-labelledby` can also be used.
|
||||||
{% endcallout %}
|
{% endcallout %}
|
||||||
|
|
||||||
## Button toolbar
|
## Button toolbar
|
||||||
|
|
||||||
Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and more.
|
Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and more.
|
||||||
|
|
|
@ -151,7 +151,6 @@ $('.popover-dismiss').popover({
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Enable popovers via JavaScript:
|
Enable popovers via JavaScript:
|
||||||
|
@ -306,7 +305,6 @@ Toggles an element's popover. **Returns to the caller before the popover has act
|
||||||
|
|
||||||
Hides and destroys an element's popover. Popovers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
|
Hides and destroys an element's popover. Popovers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
|
||||||
|
|
||||||
|
|
||||||
{% highlight js %}$('#element').popover('dispose'){% endhighlight %}
|
{% highlight js %}$('#element').popover('dispose'){% endhighlight %}
|
||||||
|
|
||||||
#### `.popover('enable')`
|
#### `.popover('enable')`
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
layout: simple
|
layout: simple
|
||||||
title: Examples
|
title: Examples
|
||||||
description: Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.
|
description: Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.
|
||||||
redirect_from:
|
redirect_from: "/examples/"
|
||||||
- /examples/
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[Download the Bootstrap source code]({{ site.download.source }}) to snag these examples.
|
[Download the Bootstrap source code]({{ site.download.source }}) to snag these examples.
|
||||||
|
|
|
@ -8,6 +8,7 @@ group: extend
|
||||||
Bootstrap doesn't include an icon library by default, but we have a handful of recommendations for you to choose from. While most icon sets include multiple file formats, we prefer SVG implementations for their improved accessibility and vector support.
|
Bootstrap doesn't include an icon library by default, but we have a handful of recommendations for you to choose from. While most icon sets include multiple file formats, we prefer SVG implementations for their improved accessibility and vector support.
|
||||||
|
|
||||||
## Preferred
|
## Preferred
|
||||||
|
|
||||||
We've tested and used these icon sets ourselves.
|
We've tested and used these icon sets ourselves.
|
||||||
|
|
||||||
- [Iconic](https://useiconic.com/open/)
|
- [Iconic](https://useiconic.com/open/)
|
||||||
|
@ -15,6 +16,7 @@ We've tested and used these icon sets ourselves.
|
||||||
- [Entypo](http://www.entypo.com/)
|
- [Entypo](http://www.entypo.com/)
|
||||||
|
|
||||||
## More options
|
## More options
|
||||||
|
|
||||||
While we haven't tried these out, they do look promising and provide multiple formats—including SVG.
|
While we haven't tried these out, they do look promising and provide multiple formats—including SVG.
|
||||||
|
|
||||||
- [Bytesize](https://github.com/danklammer/bytesize-icons)
|
- [Bytesize](https://github.com/danklammer/bytesize-icons)
|
||||||
|
|
|
@ -12,6 +12,7 @@ We've designed and developed Bootstrap to work in a number of environments. Here
|
||||||
{% endcallout %}
|
{% endcallout %}
|
||||||
|
|
||||||
### General outline
|
### General outline
|
||||||
|
|
||||||
- Working with CSS
|
- Working with CSS
|
||||||
- Working with Sass files
|
- Working with Sass files
|
||||||
- Building new CSS components
|
- Building new CSS components
|
||||||
|
|
|
@ -125,6 +125,7 @@ The `.dropdown-backdrop` element isn't used on iOS in the nav because of the com
|
||||||
Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.
|
Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.
|
||||||
|
|
||||||
## Sticky `:hover`/`:focus` on mobile
|
## Sticky `:hover`/`:focus` on mobile
|
||||||
|
|
||||||
Even though real hovering isn't possible on most touchscreens, most mobile browsers emulate hovering support and make `:hover` "sticky". In other words, `:hover` styles start applying after tapping an element and only stop applying after the user taps some other element. On mobile-first sites, this behavior is normally undesirable.
|
Even though real hovering isn't possible on most touchscreens, most mobile browsers emulate hovering support and make `:hover` "sticky". In other words, `:hover` styles start applying after tapping an element and only stop applying after the user taps some other element. On mobile-first sites, this behavior is normally undesirable.
|
||||||
|
|
||||||
Bootstrap includes a workaround for this, although it is disabled by default. By setting `$enable-hover-media-query` to `true` when compiling from Sass, Bootstrap will use [mq4-hover-shim](https://github.com/twbs/mq4-hover-shim) to disable `:hover` styles in browsers that emulate hovering, thus preventing sticky `:hover` styles. There are some caveats to this workaround; see the shim's documentation for details.
|
Bootstrap includes a workaround for this, although it is disabled by default. By setting `$enable-hover-media-query` to `true` when compiling from Sass, Bootstrap will use [mq4-hover-shim](https://github.com/twbs/mq4-hover-shim) to disable `:hover` styles in browsers that emulate hovering, thus preventing sticky `:hover` styles. There are some caveats to this workaround; see the shim's documentation for details.
|
||||||
|
|
|
@ -84,6 +84,7 @@ $('#myCarousel').carousel('2') // !! Will be ignored, as the transition to the s
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
### Default settings
|
### Default settings
|
||||||
|
|
||||||
You can change the default settings for a plugin by modifying the plugin's `Constructor.Default` object:
|
You can change the default settings for a plugin by modifying the plugin's `Constructor.Default` object:
|
||||||
|
|
||||||
{% highlight js %}
|
{% highlight js %}
|
||||||
|
|
|
@ -7,6 +7,7 @@ toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
## Beta 2 changes
|
## Beta 2 changes
|
||||||
|
|
||||||
While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2.
|
While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2.
|
||||||
|
|
||||||
### Breaking
|
### Breaking
|
||||||
|
|
Loading…
Reference in New Issue