mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
start filling out mixins tables
This commit is contained in:
parent
7ca3b98d88
commit
7d83f45ebb
@ -411,7 +411,7 @@
|
||||
</div><!-- /span4 -->
|
||||
<div class="span4">
|
||||
<h3>Parametric mixins</h3>
|
||||
<p>A parametric mixin is just like a basic mixin, but it also accepts optional paramaters (hence the name).</p>
|
||||
<p>A parametric mixin is just like a basic mixin, but it also accepts optional Parameters (hence the name).</p>
|
||||
<pre class="prettyprint linenums">
|
||||
Coming soon!
|
||||
</pre>
|
||||
@ -428,45 +428,45 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>.clearfix()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Add to any parent to clear floats within</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.center-block()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Auto center a block-level element using <code>margin: auto</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.ie7-inline-block()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Use in addition to regular <code>display: inline-block</code> to get IE7 support</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.size()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@height: 5px, @width: 5px</code></td>
|
||||
<td>Quickly set the height and width on one line</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.square()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@size: 5px</code></td>
|
||||
<td>Builds on <code>.size()</code> to set the width and height as same value</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.opacity()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@opacity: 100</code></td>
|
||||
<td>Set, in whole numbers, the opacity percentage (e.g., "50" or "75")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.reset-filter()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Resets any IE filter</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -475,15 +475,15 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>.placeholder()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@color: @placeholderText</code></td>
|
||||
<td>Set the <code>placeholder</code> text color for inputs</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -492,7 +492,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -539,7 +539,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -571,7 +571,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -648,7 +648,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
46
docs/templates/pages/less.mustache
vendored
46
docs/templates/pages/less.mustache
vendored
@ -347,7 +347,7 @@
|
||||
</div><!-- /span4 -->
|
||||
<div class="span4">
|
||||
<h3>Parametric mixins</h3>
|
||||
<p>A parametric mixin is just like a basic mixin, but it also accepts optional paramaters (hence the name).</p>
|
||||
<p>A parametric mixin is just like a basic mixin, but it also accepts optional Parameters (hence the name).</p>
|
||||
<pre class="prettyprint linenums">
|
||||
Coming soon!
|
||||
</pre>
|
||||
@ -364,45 +364,45 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>.clearfix()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Add to any parent to clear floats within</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.center-block()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Auto center a block-level element using <code>margin: auto</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.ie7-inline-block()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Use in addition to regular <code>display: inline-block</code> to get IE7 support</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.size()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@height: 5px, @width: 5px</code></td>
|
||||
<td>Quickly set the height and width on one line</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.square()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@size: 5px</code></td>
|
||||
<td>Builds on <code>.size()</code> to set the width and height as same value</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.opacity()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@opacity: 100</code></td>
|
||||
<td>Set, in whole numbers, the opacity percentage (e.g., "50" or "75")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.reset-filter()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><em class="muted">none</em></td>
|
||||
<td>Resets any IE filter</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -411,15 +411,15 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>.placeholder()</code></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><code>@color: @placeholderText</code></td>
|
||||
<td>Set the <code>placeholder</code> text color for inputs</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -428,7 +428,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -475,7 +475,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -507,7 +507,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -584,7 +584,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="span4">Mixin</th>
|
||||
<th>Paramaters</th>
|
||||
<th>Parameters</th>
|
||||
<th>Usage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
Loading…
x
Reference in New Issue
Block a user