Updated table
This commit is contained in:
		
					parent
					
						
							
								aad1ac2a7d
							
						
					
				
			
			
				commit
				
					
						aa7140cd83
					
				
			
		
					 3 changed files with 83 additions and 59 deletions
				
			
		|  | @ -256,61 +256,6 @@ Let's <mark>mark this hint</mark> to give you a clue. | ||||||
| 
 | 
 | ||||||
| Need a break? I give you three!<br><br><br> | Need a break? I give you three!<br><br><br> | ||||||
| 
 | 
 | ||||||
| ## Tables |  | ||||||
| 
 |  | ||||||
| <table> |  | ||||||
|   <caption>Table Caption</caption> |  | ||||||
|   <thead> |  | ||||||
|     <tr> |  | ||||||
|       <th width="200">Table Header</th> |  | ||||||
|       <th width="150">Table Header</th> |  | ||||||
|       <th width="150">Table Header</th> |  | ||||||
|       <th width="150">Table Header</th> |  | ||||||
|     </tr> |  | ||||||
|   </thead> |  | ||||||
|   <tbody> |  | ||||||
|     <tr> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|       <td>This is longer content Donec id elit non mi porta gravida at eget metus.</td> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|     </tr> |  | ||||||
|     <tr> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|       <td>This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.</td> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|     </tr> |  | ||||||
|     <tr> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|       <td>This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.</td> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|       <td>Content Goes Here</td> |  | ||||||
|     </tr> |  | ||||||
|   </tbody> |  | ||||||
| </table> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| A table can consist of these elements |  | ||||||
| 
 |  | ||||||
| * `<table>` |  | ||||||
| * `<caption>` |  | ||||||
| * `<colgroup>` |  | ||||||
| * `<col>` |  | ||||||
| * `<tbody>` |  | ||||||
| * `<thead>` |  | ||||||
| * `<tfoot>` |  | ||||||
| * `<tr>` |  | ||||||
| * `<td>` |  | ||||||
| * `<th>` |  | ||||||
| 
 |  | ||||||
| </div><!-- /.medium-8.columns --> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| </div><!-- /.row --> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
|  [1]: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/HTML5_element_list |  [1]: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/HTML5_element_list | ||||||
|  [2]: http://phlow.de/ |  [2]: http://phlow.de/ | ||||||
|  | @ -322,3 +267,82 @@ A table can consist of these elements | ||||||
|  [8]: # |  [8]: # | ||||||
|  [9]: # |  [9]: # | ||||||
|  [10]: # |  [10]: # | ||||||
|  | 
 | ||||||
|  | ## Tables | ||||||
|  | 
 | ||||||
|  | Even tables are responsive thanks to foundation. A table can consist of these elements. | ||||||
|  | 
 | ||||||
|  | <table> | ||||||
|  |   <caption><table> defines an HTML table</caption> | ||||||
|  |   <colgroup> | ||||||
|  |     <col span="1" style="width: 15%;"></col> | ||||||
|  |     <col span="1" style="width: 50%;"></col> | ||||||
|  |     <col span="1" style="width: 35%;"></col> | ||||||
|  |   </colgroup> | ||||||
|  |   <thead> | ||||||
|  |     <tr> | ||||||
|  |       <th>HTML Tag</th> | ||||||
|  |       <th>Defintion</th> | ||||||
|  |       <th>Style</th> | ||||||
|  |     </tr> | ||||||
|  |   </thead> | ||||||
|  |   <tbody> | ||||||
|  |     <tr> | ||||||
|  |       <td><caption></td> | ||||||
|  |       <td>defines a table caption</td> | ||||||
|  |       <td><code>font-weight: bold;</code></td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><colgroup></td> | ||||||
|  |       <td>specifies a group of one or more columns in a table for  | ||||||
|  | formatting. The <colgroup> tag is useful for applying styles to entire columns, instead of repeating the styles for each cell, for each row.</td> | ||||||
|  |       <td>no styling needed</td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><col></td> | ||||||
|  |       <td>specifies column properties for each column within a `<colgroup>`  | ||||||
|  | element</td> | ||||||
|  |       <td>no styling needed</td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><thead></td> | ||||||
|  |       <td>is used to group header content in an HTML table</td> | ||||||
|  |       <td><code>font-weight: bold;</code></td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><tbody></td> | ||||||
|  |       <td>is used to group the body content in an HTML table</td> | ||||||
|  |       <td>no styling needed</td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><tr></td> | ||||||
|  |       <td>defines a row in an HTML table</td> | ||||||
|  |       <td>no styling needed</td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><th></td> | ||||||
|  |       <td>defines a header cell in an HTML table</td> | ||||||
|  |       <td><code>font-weight: bold;</code></td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><td></td> | ||||||
|  |       <td>defines a standard cell in an HTML table</td> | ||||||
|  |       <td><code>font-weight: normal;</code></td> | ||||||
|  |     </tr> | ||||||
|  |     <tr> | ||||||
|  |       <td><tfoot></td> | ||||||
|  |       <td>is used to group footer content in an HTML table</td> | ||||||
|  |       <td>no styling needed</td> | ||||||
|  |     </tr> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | </div><!-- /.medium-8.columns --> | ||||||
|  | </div><!-- /.row --> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |  | ||||||
|  | @ -4186,7 +4186,7 @@ table caption { | ||||||
| } | } | ||||||
| /* line 72, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | /* line 72, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | ||||||
| table thead { | table thead { | ||||||
|   background: #e4e4e4; |   background: #d7d7d7; | ||||||
| } | } | ||||||
| /* line 77, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | /* line 77, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | ||||||
| table thead tr th, | table thead tr th, | ||||||
|  | @ -4198,7 +4198,7 @@ table thead tr td { | ||||||
| } | } | ||||||
| /* line 86, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | /* line 86, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | ||||||
| table tfoot { | table tfoot { | ||||||
|   background: #e4e4e4; |   background: #d7d7d7; | ||||||
| } | } | ||||||
| /* line 91, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | /* line 91, ../bower_components/foundation/scss/foundation/components/_tables.scss */ | ||||||
| table tfoot tr th, | table tfoot tr th, | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								assets/css/style_feeling_responsive.min.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								assets/css/style_feeling_responsive.min.css
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in a new issue