]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update helper classes to reflect changes and mention mixins
authorMark Otto <otto@github.com>
Sat, 17 Aug 2013 21:15:14 +0000 (14:15 -0700)
committerMark Otto <otto@github.com>
Sat, 17 Aug 2013 21:15:14 +0000 (14:15 -0700)
css.html

index 64b7b1d5e9c4db159d8fb9a20c6d05abaf34ed22..dd576df063f53d346ef75f0bfc101652ca45308c 100644 (file)
--- a/css.html
+++ b/css.html
@@ -2070,29 +2070,29 @@ For example, <code>&lt;section&gt;</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 %}