mirror of https://github.com/twbs/bootstrap.git
				
				
				
			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> | ||||
|   <div class="bs-example"> | ||||
|     <div class="btn-group btn-group-justified"> | ||||
|       <a class="btn btn-default" role="button">Left</a> | ||||
|       <a 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">Left</a> | ||||
|       <a href="#" class="btn btn-default" role="button">Middle</a> | ||||
|       <a href="#" class="btn btn-default" role="button">Right</a> | ||||
|     </div> | ||||
|     <br> | ||||
|     <div class="btn-group btn-group-justified"> | ||||
|       <a 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">Left</a> | ||||
|       <a href="#" class="btn btn-default" role="button">Middle</a> | ||||
|       <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> | ||||
|         </a> | ||||
|         <ul class="dropdown-menu" role="menu"> | ||||
|  |  | |||
|  | @ -6,14 +6,14 @@ | |||
|     <div class="jumbotron"> | ||||
|       <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><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> | ||||
| {% highlight html %} | ||||
| <div class="jumbotron"> | ||||
|   <h1>Hello, world!</h1> | ||||
|   <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> | ||||
| {% 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> | ||||
|  |  | |||
|  | @ -59,7 +59,7 @@ | |||
|       <div class="container"> | ||||
|         <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><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> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue