]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Changed typo '.clear' to '.clearfix' in utility-classes.html 3585/head
authorMark Oleson <fusion2004@gmail.com>
Thu, 21 Nov 2013 20:34:48 +0000 (15:34 -0500)
committerMark Oleson <fusion2004@gmail.com>
Thu, 21 Nov 2013 20:34:48 +0000 (15:34 -0500)
Seems to be a typo here, not 100% up to date on Foundation 5, but a quick Chrome Dev Tools test showed that .clear did not clear the floats inside the element, but .clearfix did

doc/pages/utility-classes.html

index b8f444721ceeed7638ad0e1a0467d3d7286369d7..6c325c53ade6e5445f60d61f50ee96613b279c13 100644 (file)
@@ -8,7 +8,7 @@ layout: doc/layouts/default.html
 ***
 <h3>Float Classes</h3>
 
-You can change the float behavior of an element by adding `.left` or `.right` to an HTML element. To clear floats, add the class `.clear` to the parent element.
+You can change the float behavior of an element by adding `.left` or `.right` to an HTML element. To clear floats, add the class `.clearfix` to the parent element.
 
 <div class="row">
   <div class="large-6 columns">
@@ -65,4 +65,4 @@ You can change the text alignment of an element by adding `.text-left`, `.text-r
 You can add the class `.hide` to an element to hide it. This will add the property `display: none` to the element.
 ```html
 <div class="hide"></div>
-```
\ No newline at end of file
+```