Commit f77d0aa5 authored by Mark Otto's avatar Mark Otto
Browse files

fixes #13356: clarify use of clearfix on parents

parent 5c1357b3
Showing with 1 addition and 1 deletion
+1 -1
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<h3 id="helper-classes-clearfix">Clearfix</h3> <h3 id="helper-classes-clearfix">Clearfix</h3>
<p>Clear the <code>float</code> on any element with the <code>.clearfix</code> class. 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> <p>Easily clear <code>float</code>s by adding <code>.clearfix</code> <strong>to the parent element</strong>. 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 %} {% highlight html %}
<!-- Usage as a class --> <!-- Usage as a class -->
<div class="clearfix">...</div> <div class="clearfix">...</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment