summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss
diff options
context:
space:
mode:
Diffstat (limited to 'debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss')
-rw-r--r--debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss
new file mode 100644
index 0000000..e68efc4
--- /dev/null
+++ b/debian/missing-sources/bourbon-neat/app/assets/stylesheets/mixins/_clearfix.scss
@@ -0,0 +1,25 @@
+@charset "UTF-8";
+
+/// Provides an easy way to include a clearfix for containing floats.
+///
+/// @link http://goo.gl/yP5hiZ
+///
+/// @example scss
+/// .element {
+/// @include clearfix;
+/// }
+///
+/// @example css
+/// .element::after {
+/// clear: both;
+/// content: "";
+/// display: block;
+/// }
+
+@mixin clearfix {
+ &::after {
+ clear: both;
+ content: "";
+ display: block;
+ }
+}