diff sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss @ 0:a3750d724105 default tip

initital
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 02 Jun 2015 09:16:36 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss	Tue Jun 02 09:16:36 2015 +0200
@@ -0,0 +1,26 @@
+/**
+ * @file
+ * Test zen-clear()
+ */
+
+@import "zen";
+
+#test-zen-clear {
+  /* Test zen-clear() */
+  @include zen-clear();
+
+  /* Test zen-clear() with $zen-float-direction: right */
+  $zen-float-direction: right;
+  @include zen-clear();
+  $zen-float-direction: left;
+
+  /* Test zen-clear(left) */
+  @include zen-clear(left);
+
+  /* Test zen-clear(left, $reverse-all-floats: TRUE) */
+  @include zen-clear(left, $reverse-all-floats: TRUE);
+
+  /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
+  $zen-reverse-all-floats: TRUE;
+  @include zen-clear(left);
+}