From 01ab1832dac5d902ede2e7f96af2c0296737c46f Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 1 Sep 2017 13:35:52 +0800 Subject: Improve SASS coding with Hound CI results, and change Hound CI configs. --- src/utilities/_position.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/utilities/_position.scss') diff --git a/src/utilities/_position.scss b/src/utilities/_position.scss index 548368f..1f4c5e8 100644 --- a/src/utilities/_position.scss +++ b/src/utilities/_position.scss @@ -2,9 +2,11 @@ .clearfix { @include clearfix(); } + .float-left { float: left !important; } + .float-right { float: right !important; } @@ -12,12 +14,15 @@ .relative { position: relative; } + .absolute { position: absolute; } + .fixed { position: fixed; } + .centered { display: block; float: none; @@ -27,9 +32,13 @@ // Spacing @include margin-variant(0, 0); + @include margin-variant(1, $unit-1); + @include margin-variant(2, $unit-2); @include padding-variant(0, 0); + @include padding-variant(1, $unit-1); -@include padding-variant(2, $unit-2); \ No newline at end of file + +@include padding-variant(2, $unit-2); -- cgit v1.3.1-26-gb76a