diff options
| author | Mark Otto <[email protected]> | 2013-08-24 14:40:36 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-24 14:40:36 -0700 |
| commit | 00895977ffca47c724bab9b1b230ba46f848f926 (patch) | |
| tree | 71a91b664ed76153823d2c40a3ac8694aa85ab52 /css.html | |
| parent | 7c8d9551cc01536df505266218746655dc6a5a64 (diff) | |
| parent | 26eb9f3440d535caca24fef04d0c7656a773092b (diff) | |
| download | bootstrap-00895977ffca47c724bab9b1b230ba46f848f926.tar.xz bootstrap-00895977ffca47c724bab9b1b230ba46f848f926.zip | |
Merge branch 'master' of github.com:twbs/bootstrap
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -2038,7 +2038,7 @@ For example, <code><section></code> should be wrapped as inline. <button type="button" class="btn btn-link">Link</button> </div> {% highlight html %} -<!-- Standard gray button with gradient --> +<!-- Standard button --> <button type="button" class="btn btn-default">Default</button> <!-- Provides extra visual weight and identifies the primary action in a set of buttons --> @@ -2134,12 +2134,12 @@ For example, <code><section></code> should be wrapped as inline. <h3>Anchor element</h3> <p>Add the <code>.disabled</code> class to <code><a></code> buttons.</p> <p class="bs-example"> - <a href="#" class="btn btn-primary btn-lg disabled">Primary link</a> - <a href="#" class="btn btn-default btn-lg disabled">Link</a> + <a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a> + <a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a> </p> {% highlight html %} -<a href="#" class="btn btn-primary btn-lg disabled">Primary link</a> -<a href="#" class="btn btn-default btn-lg disabled">Link</a> +<a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a> +<a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a> {% endhighlight %} <p> We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required. @@ -2153,13 +2153,13 @@ For example, <code><section></code> should be wrapped as inline. <h2 id="buttons-tags">Button tags</h2> <p>Use the button classes on an <code><a></code>, <code><button></code>, or <code><input></code> element.</p> <form class="bs-example"> - <a class="btn btn-default" href="#">Link</a> + <a class="btn btn-default" href="#" role="button">Link</a> <button class="btn btn-default" type="submit">Button</button> <input class="btn btn-default" type="button" value="Input"> <input class="btn btn-default" type="submit" value="Submit"> </form> {% highlight html %} -<a class="btn btn-default" href="#">Link</a> +<a class="btn btn-default" href="#" role="button">Link</a> <button class="btn btn-default" type="submit">Button</button> <input class="btn btn-default" type="button" value="Input"> <input class="btn btn-default" type="submit" value="Submit"> |
