mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
Merge pull request #14899 from twbs/a-href-s
add missing hrefs to <a>s in docs+examples
This commit is contained in:
commit
ca63e387b9
@ -202,16 +202,16 @@
|
|||||||
<p>Just wrap a series of <code>.btn</code>s in <code>.btn-group.btn-group-justified</code>.</p>
|
<p>Just wrap a series of <code>.btn</code>s in <code>.btn-group.btn-group-justified</code>.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<div class="btn-group btn-group-justified">
|
<div class="btn-group btn-group-justified">
|
||||||
<a class="btn btn-default" role="button">Left</a>
|
<a href="#" class="btn btn-default" role="button">Left</a>
|
||||||
<a class="btn btn-default" role="button">Middle</a>
|
<a href="#" class="btn btn-default" role="button">Middle</a>
|
||||||
<a class="btn btn-default" role="button">Right</a>
|
<a href="#" class="btn btn-default" role="button">Right</a>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="btn-group btn-group-justified">
|
<div class="btn-group btn-group-justified">
|
||||||
<a class="btn btn-default" role="button">Left</a>
|
<a href="#" class="btn btn-default" role="button">Left</a>
|
||||||
<a class="btn btn-default" role="button">Middle</a>
|
<a href="#" class="btn btn-default" role="button">Middle</a>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
<a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
Dropdown <span class="caret"></span>
|
Dropdown <span class="caret"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
||||||
<p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
|
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
<p>...</p>
|
<p>...</p>
|
||||||
<p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
|
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
<p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p>
|
<p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p>
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
||||||
<p><a class="btn btn-primary btn-lg" role="button">Learn more »</a></p>
|
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more »</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user