Event List James
This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.
by liammccann1992
HTML
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.1/bootstrap.min.js"></script>
<h3> Events </h3>
<table class="table eventlist">
<thead>
<tr>
<th>Date</th>
<th>Time</th>
<th>Duration</th>
<th>Location</th>
<th>Cost</th>
</tr>
</thead>
<tr>
<td data-title="Date">29-10-1992</td>
<td data-title="Time">10:00.</td>
<td data-title="Duration">$1.38</td>
<td data-title="Location">Glasgow, Scotland</td>
<td data-title="Cost (£)">£991.00</td>
</tr>
<tr>
<td data-title="Date">29-10-1992</td>
<td data-title="Time">10:00.</td>
<td data-title="Duration">$1.38</td>
<td data-title="Location">Glasgow, Scotland</td>
<td data-title="Cost (£)">£991.00</td>
</tr>
<tr>
<td data-title="Date">29-10-1992</td>
<td data-title="Time">10:00.</td>
<td data-title="Duration">$1.38</td>
<td data-title="Location">Glasgow, Scotland</td>
<td data-title="Cost (£)">£991.00</td>
</tr>
</table>
CSS
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css');
/* Landscape phones and down */
@media (max-width: 1780px) {
/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr {
display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr {
border: 1px solid #ccc;
margin-top:10px;
}
td {
white-space: normal;
text-align:right;
}
td:before {
padding-right: 10px;
white-space: nowrap;
text-align:left;
font-weight: bold;
}
/*
Label the data
*/
td:before {
content: attr(data-title);
}
}