]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
copy change, add to buttons anchor section
authorMark Otto <otto@github.com>
Thu, 17 Oct 2013 21:47:27 +0000 (14:47 -0700)
committerMark Otto <otto@github.com>
Thu, 17 Oct 2013 21:47:27 +0000 (14:47 -0700)
components.html
css.html

index 393f184004f6999c24038ae31e51a3cc0b4d7cf3..59b3f4cee64ff0002b2f69558375161debee6434 100644 (file)
@@ -1607,7 +1607,7 @@ base_url: "../"
 
     <div class="bs-callout bs-callout-warning">
       <h4>Context-specific usage</h4>
-      <p>Like the standard <a href="{{ page.base_url }}css#buttons">button classes</a>, <code>.navbar-btn</code> can be used to style <code>&lt;a&gt;</code> and <code>&lt;input&gt;</code> elements in most contexts. However, neither <code>.navbar-btn</code> nor the other button classes should be used within a <code>.navbar-nav</code>.</p>
+      <p>Like the standard <a href="{{ page.base_url }}css#buttons">button classes</a>, <code>.navbar-btn</code> can be used on <code>&lt;a&gt;</code> and <code>&lt;input&gt;</code> elements. However, neither <code>.navbar-btn</code> nor the standard button classes should be used on <code>&lt;a&gt;</code> elements within <code>.navbar-nav</code>.</p>
     </div>
 
     <h2 id="navbar-text">Text</h2>
index 12032c497a37804fdd841d96b70118149b79f106..1eea9152bac3d0f96936cf396ee082a6b108c76a 100644 (file)
--- a/css.html
+++ b/css.html
@@ -2216,6 +2216,10 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
       <h4>Link functionality not impacted</h4>
       <p>This class will only change the <code>&lt;a&gt;</code>'s appearance, not its functionality. Use custom JavaScript to disable links here.</p>
     </div>
+    <div class="bs-callout bs-callout-warning">
+      <h4>Context-specific usage</h4>
+      <p>While button classes can be used on <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements, only <code>&lt;button&gt;</code> elements are supported within our nav and navbar components.</p>
+    </div>
 
 
     <h2 id="buttons-tags">Button tags</h2>