diff options
author | Siri Reiter <siri@jones.dk> | 2016-02-05 22:21:31 +0100 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2016-02-05 22:21:31 +0100 |
commit | fa23263f391be3da4262081484fca0f6187bed38 (patch) | |
tree | 0ea05540f1173a7c658ad585a217f9390997f4c0 | |
parent | 18820ee3c07e02660ecbca4f4a2611c759323f9f (diff) |
Include SASS column count (instead of .columns). Set content width to 96%.
-rw-r--r-- | test.scss | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,7 +1,8 @@ @import 'h5bp/helpers'; +@import 'compass/css3'; #content { - width: 99.9%; + width: 96%; margin: 2%; } @@ -34,9 +35,7 @@ background-color: Blue; } .columns { - -webkit-column-count: 1; /* Chrome, Safari, Opera */ - -moz-column-count: 1; /* Firefox */ - column-count: 1; + @include column-count(1); } } @@ -45,9 +44,7 @@ background-color: Black; } .columns { - -webkit-column-count: 2; /* Chrome, Safari, Opera */ - -moz-column-count: 2; /* Firefox */ - column-count: 2; + @include column-count(2); } } @@ -56,8 +53,6 @@ background-color: Red; } .columns { - -webkit-column-count: 3; /* Chrome, Safari, Opera */ - -moz-column-count: 3; /* Firefox */ - column-count: 3; + @include column-count(3); } } |