Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'dev'

  • Loading branch information...
commit 1098dda63cb964a725eb5255a8a4e4ba7c88368e 2 parents 05d0e51 + c6d17da
@csswizardry authored
Showing with 15 additions and 0 deletions.
  1. +1 −0  CHANGELOG.md
  2. +14 −0 csswizardry-grids.scss
View
1  CHANGELOG.md
@@ -4,3 +4,4 @@
* **1.2** Set `.grid__item` to be full-width by default
* **1.3** Offer switches for mobile-first and responsiveness
* **1.4** Add `.grid--rev` option to reverse grids’ display order
+* **1.5** Add gutterless grids option
View
14 csswizardry-grids.scss
@@ -113,6 +113,20 @@ $class-type: unquote(".");
}
+/**
+ * Gutterless grids have all the properties of regular grids, minus any spacing.
+ */
+#{$class-type}grid--full{
+ @extend #{$class-type}grid;
+ margin-left:0;
+}
+
+ #{$class-type}grid--full > #{$class-type}grid__item{
+ padding-left:0;
+ }
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.