Skip to content

Instantly share code, notes, and snippets.

@JackieXu
Created December 13, 2013 13:35
Show Gist options
  • Save JackieXu/7944298 to your computer and use it in GitHub Desktop.
Save JackieXu/7944298 to your computer and use it in GitHub Desktop.
Untitled
table {
background-color: gold;
}
thead {
background-color: crimson;
}
tbody {
background-color: brown;
}
th {
color: green;
}
td {
color: white;
width: 200px
}
<table>
<thead>
<tr>
<th>Name</th>
<th>Owner</th>
</tr>
</thead>
<tbody>
<tr>
<td>Durandal</td>
<td>Roland</td>
</tr>
<tr>
<td>Excalibur</td>
<td>King Arthur</td>
</tr>
<tr>
<td>Gáe Bulg</td>
<td>Cú Chulainn</td>
</tr>
<tr>
<td>Hrunting</td>
<td>Beowulf</td>
</tr>
</tbody>
</table>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment