Permalink
Browse files

Add vertical alignment modifiers

  • Loading branch information...
1 parent 74b8b91 commit 94758a7a5f546496920360abf6ed0a7be5339ced @csswizardry committed May 15, 2013
Showing with 19 additions and 0 deletions.
  1. +19 −0 csswizardry-grids.scss
View
@@ -306,6 +306,25 @@ $class-type: unquote(".");
}
+/**
+ * Align grid cells vertically (`.grid--middle` or `.grid--bottom`). Extends
+ * `.grid`.
+ */
+#{$class-type}grid--middle{
+
+ > #{$class-type}grid__item{
+ vertical-align:middle;
+ }
+}
+
+#{$class-type}grid--bottom{
+
+ > #{$class-type}grid__item{
+ vertical-align:bottom;
+ }
+}
+
+

0 comments on commit 94758a7

Please sign in to comment.