mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
add css tests for fluid rows and inputs
This commit is contained in:
parent
519384fae8
commit
3e2e111b17
Binary file not shown.
@ -99,6 +99,11 @@
|
||||
.col3 {
|
||||
background-color: rgba(0,0,255,.1);
|
||||
}
|
||||
|
||||
/* Fluid row inputs */
|
||||
#fluidRowInputs .row-fluid > [class*=span] {
|
||||
background-color: rgba(255,0,0,.1);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -319,10 +324,32 @@
|
||||
<span class="span2 uneditable-input">Some value here</span><span class="add-on">.00</span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<h4>Fluid row with inputs</h4>
|
||||
<p>Inputs should not extend past the light red background, set on their parent, a <code>.span*</code> column.</p>
|
||||
<div id="fluidRowInputs">
|
||||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<input class="span4" placeholder="span4">
|
||||
</div><!--/span-->
|
||||
<div class="span8">
|
||||
<input class="span8" placeholder="span8">
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
<div class="row-fluid" id="fluidRowInputs">
|
||||
<div class="span12">
|
||||
<input class="span12" placeholder="span12">
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
29
docs/templates/pages/css-tests.mustache
vendored
29
docs/templates/pages/css-tests.mustache
vendored
@ -22,6 +22,11 @@
|
||||
.col3 {
|
||||
background-color: rgba(0,0,255,.1);
|
||||
}
|
||||
|
||||
/* Fluid row inputs */
|
||||
#fluidRowInputs .row-fluid > [class*=span] {
|
||||
background-color: rgba(255,0,0,.1);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -242,8 +247,30 @@
|
||||
<span class="span2 uneditable-input">Some value here</span><span class="add-on">.00</span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
||||
<h4>Fluid row with inputs</h4>
|
||||
<p>Inputs should not extend past the light red background, set on their parent, a <code>.span*</code> column.</p>
|
||||
<div id="fluidRowInputs">
|
||||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<input class="span4" placeholder="span4">
|
||||
</div><!--/span-->
|
||||
<div class="span8">
|
||||
<input class="span8" placeholder="span8">
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
<div class="row-fluid" id="fluidRowInputs">
|
||||
<div class="span12">
|
||||
<input class="span12" placeholder="span12">
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user