Version 1
[yaffs-website] / web / core / modules / system / css / components / clearfix.module.css
diff --git a/web/core/modules/system/css/components/clearfix.module.css b/web/core/modules/system/css/components/clearfix.module.css
new file mode 100644 (file)
index 0000000..d68066e
--- /dev/null
@@ -0,0 +1,15 @@
+/**
+ * @file
+ * Float clearing.
+ *
+ * Based on the micro clearfix hack by Nicolas Gallagher, with the :before
+ * pseudo selector removed to allow normal top margin collapse.
+ *
+ * @see http://nicolasgallagher.com/micro-clearfix-hack
+ */
+
+.clearfix:after {
+  content: "";
+  display: table;
+  clear: both;
+}