2012-03-23 09:28:04 +01:00
|
|
|
<style>
|
2012-03-23 09:31:22 +01:00
|
|
|
/* nuke background */
|
|
|
|
body {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
/* space out subhead */
|
|
|
|
.subhead {
|
|
|
|
margin-bottom: 36px;
|
|
|
|
}
|
|
|
|
|
2012-03-23 17:47:57 +01:00
|
|
|
h4 {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2012-03-23 09:31:22 +01:00
|
|
|
/* colgroup tests */
|
|
|
|
.col1 {
|
|
|
|
background-color: rgba(255,0,0,.1);
|
|
|
|
}
|
|
|
|
.col2 {
|
|
|
|
background-color: rgba(0,255,0,.1);
|
|
|
|
}
|
|
|
|
.col3 {
|
|
|
|
background-color: rgba(0,0,255,.1);
|
|
|
|
}
|
2012-03-23 09:28:04 +01:00
|
|
|
</style>
|
|
|
|
|
2012-03-23 17:47:57 +01:00
|
|
|
|
2012-03-23 05:08:41 +01:00
|
|
|
<!-- Masthead
|
|
|
|
================================================== -->
|
|
|
|
<header class="jumbotron subhead" id="overview">
|
2012-03-23 09:28:04 +01:00
|
|
|
<h1>{{_i}}CSS Tests{{/i}}</h1>
|
|
|
|
<p class="lead">{{_i}}One stop shop for quick debugging and edge-case tests of CSS.{{/i}}</p>
|
2012-03-23 05:08:41 +01:00
|
|
|
</header>
|
2012-03-23 09:28:04 +01:00
|
|
|
|
2012-03-23 17:47:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Tables
|
|
|
|
================================================== -->
|
|
|
|
|
2012-03-23 09:28:04 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>Tables</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="span6">
|
|
|
|
<h4>Bordered without thead</h4>
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h4>Bordered without thead, with caption</h4>
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<caption>Table caption</caption>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h4>Bordered without thead, with colgroup</h4>
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<colgroup>
|
|
|
|
<col class="col1">
|
|
|
|
<col class="col2">
|
|
|
|
<col class="col3">
|
|
|
|
</colgroup>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h4>Bordered with thead, with colgroup</h4>
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<colgroup>
|
|
|
|
<col class="col1">
|
|
|
|
<col class="col2">
|
|
|
|
<col class="col3">
|
|
|
|
</colgroup>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div><!--/span-->
|
|
|
|
<div class="span6">
|
|
|
|
<h4>Bordered with thead and caption</h4>
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<caption>Table caption</caption>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>1</th>
|
|
|
|
<th>2</th>
|
|
|
|
<th>3</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h4>Bordered with rowspan and colspan</h4>
|
|
|
|
<table class="table table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>1</th>
|
|
|
|
<th>2</th>
|
|
|
|
<th>3</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">1 and 2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td rowspan="2">2</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td rowspan="2">1</td>
|
|
|
|
<td>3</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">2 and 3</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div><!--/span-->
|
|
|
|
</div><!--/row-->
|
2012-03-23 17:47:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Forms
|
|
|
|
================================================== -->
|
|
|
|
|
|
|
|
<div class="page-header">
|
|
|
|
<h1>Forms</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="span4">
|
|
|
|
<h4>Prepend and append on inputs</h4>
|
|
|
|
<form>
|
|
|
|
<div class="controls">
|
|
|
|
<div class="input-prepend">
|
|
|
|
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="controls">
|
|
|
|
<div class="input-append">
|
|
|
|
<input class="span2" id="prependedInput" size="16" type="text"><span class="add-on">@</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="controls">
|
|
|
|
<div class="input-prepend input-append">
|
|
|
|
<span class="add-on">$</span><input class="span2" id="prependedInput" size="16" type="text"><span class="add-on">.00</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div><!--/span-->
|
|
|
|
<div class="span6">
|
|
|
|
<h4>Prepend and append with uneditable</h4>
|
|
|
|
<form>
|
|
|
|
<div class="input-prepend">
|
|
|
|
<span class="add-on">$</span><span class="span2 uneditable-input">Some value here</span>
|
|
|
|
</div>
|
|
|
|
<div class="input-append">
|
|
|
|
<span class="span2 uneditable-input">Some value here</span><span class="add-on">.00</span>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div><!--/span-->
|
|
|
|
</div><!--/row-->
|
|
|
|
|
|
|
|
|