From 0d219b5a0b6af469e36f1913564c0bb58b20b52b Mon Sep 17 00:00:00 2001 From: nhall Date: Mon, 6 Jul 2015 15:08:58 -0400 Subject: [PATCH] Separate .clearfix psuedo after for use as a Less mixin --- css/src/imports/base.less | 41 +++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/css/src/imports/base.less b/css/src/imports/base.less index bce531a8..699d812c 100644 --- a/css/src/imports/base.less +++ b/css/src/imports/base.less @@ -2,9 +2,9 @@ Animations ================================================================== */ - - - + + + /* ================================================================== Elements ================================================================== */ @@ -202,15 +202,15 @@ Background Colors ================================================================== */ - - - + + + /* ================================================================== Border Colors ================================================================== */ - - + + /* ================================================================== Helpers @@ -238,13 +238,16 @@ clear: both; } - .clearfix:after { - clear: both; - content: "."; - display: block; - height: 0; - line-height: 0; - visibility: hidden; + .clearfix { + + &:after { + clear: both; + content: "."; + display: block; + height: 0; + line-height: 0; + visibility: hidden; + } } .contain { @@ -290,14 +293,14 @@ .invisible { visibility: hidden; } - + .offscreen { width: 1px; height: 1px; - + position: absolute; left: -999px; - + overflow: hidden; z-index: -999; } @@ -305,7 +308,7 @@ .print { display: none; } - + .responsive_image { display: block;