diff options
Diffstat (limited to 'debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss')
-rw-r--r-- | debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss new file mode 100644 index 0000000..11313d6 --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/addons/_clearfix.scss @@ -0,0 +1,25 @@ +@charset "UTF-8"; + +/// Provides an easy way to include a clearfix for containing floats. +/// +/// @link http://cssmojo.com/latest_new_clearfix_so_far/ +/// +/// @example scss - Usage +/// .element { +/// @include clearfix; +/// } +/// +/// @example css - CSS Output +/// .element::after { +/// clear: both; +/// content: ""; +/// display: table; +/// } + +@mixin clearfix { + &::after { + clear: both; + content: ""; + display: table; + } +} |