diff options
| author | Chris Rebert <[email protected]> | 2014-11-11 20:23:49 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-11-13 12:16:03 -0800 |
| commit | ea407666ce3c5d708b4a830fb2d00bdcb0d2d53e (patch) | |
| tree | 9eeca9971c60a66573b318299e47a933fa0a6886 /docs/_includes/components/glyphicons.html | |
| parent | 5660be42faef7fecdd9121e052265da55202ae3c (diff) | |
| download | bootstrap-ea407666ce3c5d708b4a830fb2d00bdcb0d2d53e.tar.xz bootstrap-ea407666ce3c5d708b4a830fb2d00bdcb0d2d53e.zip | |
give all docs callouts IDs
[skip sauce]
Diffstat (limited to 'docs/_includes/components/glyphicons.html')
| -rw-r--r-- | docs/_includes/components/glyphicons.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index b5f5178df..bc563c5a6 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -17,15 +17,15 @@ <h2 id="glyphicons-how-to-use">How to use</h2> <p>For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.</p> - <div class="bs-callout bs-callout-danger"> + <div class="bs-callout bs-callout-danger" id="callout-glyphicons-dont-mix"> <h4>Don't mix with other components</h4> <p>Icon classes cannot be directly combined with other components. They should not be used along with other classes on the same element. Instead, add a nested <code><span></code> and apply the icon classes to the <code><span></code>.</p> </div> - <div class="bs-callout bs-callout-danger"> + <div class="bs-callout bs-callout-danger" id="callout-glyphicons-empty-only"> <h4>Only for use on empty elements</h4> <p>Icon classes should only be used on elements that contain no text content and have no child elements.</p> </div> - <div class="bs-callout bs-callout-info"> + <div class="bs-callout bs-callout-info" id="callout-glyphicons-location"> <h4>Changing the icon font location</h4> <p>Bootstrap assumes icon font files will be located in the <code>../fonts/</code> directory, relative to the compiled CSS files. Moving or renaming those font files means updating the CSS in one of three ways:</p> <ul> @@ -35,7 +35,7 @@ </ul> <p>Use whatever option best suits your specific development setup.</p> </div> - <div class="bs-callout bs-callout-warning"> + <div class="bs-callout bs-callout-warning" id="callout-glyphicons-accessibility"> <h4>Accessible icons</h4> <p>Modern versions of assistive technologies will announce CSS generated content, as well as specific Unicode characters. To avoid unintended and confusing output in screen readers (particularly when icons are used purely for decoration), we hide them with the <code>aria-hidden="true"</code> attribute.</p> <p>If you're using an icon to convey meaning (rather than only as a decorative element), ensure that this meaning is also conveyed to assistive technologies – for instance, include additional content, visually hidden with the <code>.sr-only</code> class.</p> |
