From 8a052f6ea705bb842116fe665bccf9fc621f9d78 Mon Sep 17 00:00:00 2001 From: RyanAtHome Date: Thu, 9 Aug 2012 01:22:59 -0500 Subject: [PATCH] Clearfix changed to micro version --- stylesheets/skeleton.css | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/stylesheets/skeleton.css b/stylesheets/skeleton.css index 5db3d38..0f11ece 100644 --- a/stylesheets/skeleton.css +++ b/stylesheets/skeleton.css @@ -210,7 +210,7 @@ ================================================== */ /* Self Clearing Goodness */ - .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } + .container:after { content: " "; display: table; clear: both; } /* Use clearfix class on parent to clear nested columns, or wrap each row of columns in a
*/ @@ -218,12 +218,8 @@ .clearfix:after, .row:before, .row:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } + content: " "; + display: table; } .row:after, .clearfix:after { clear: both; } @@ -234,9 +230,4 @@ /* You can also use a
to clear columns */ .clear { clear: both; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; - } + display: table; }