diff options
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2070,29 +2070,29 @@ For example, <code><section></code> should be wrapped as inline. {% endhighlight %} <h3>.pull-left</h3> - <p>Float an element left</p> + <p>Float an element left with a class. Can also be used as a mixin.</p> {% highlight html %} <div class="pull-left">...</div> {% endhighlight %} {% highlight css %} .pull-left { - float: left; + float: left !important; } {% endhighlight %} <h3>.pull-right</h3> - <p>Float an element right</p> + <p>Float an element right with a class. Can also be used as a mixin.</p> {% highlight html %} <div class="pull-right">...</div> {% endhighlight %} {% highlight css %} .pull-right { - float: right; + float: right !important; } {% endhighlight %} <h3>.clearfix</h3> - <p>Clear the <code>float</code> on any element. Utilizes <a href="http://nicolasgallagher.com/micro-clearfix-hack/">the micro clearfix</a> as popularized by Nicolas Gallagher.</p> + <p>Clear the <code>float</code> on any element. Utilizes <a href="http://nicolasgallagher.com/micro-clearfix-hack/">the micro clearfix</a> as popularized by Nicolas Gallagher. Can also be used as a mixin.</p> {% highlight html %} <div class="clearfix">...</div> {% endhighlight %} |
