hippie/mixins/_flow.scss

26 lines
469 B
SCSS
Raw Normal View History

2017-08-22 16:50:09 +02:00
@charset "UTF-8";
// Provides an easy way to include a clearflow for containing floats.
//
// @link http://cssmojo.com/latest_new_clearfix_so_far/
//
// @example scss - Usage
// .element {
2017-09-18 16:58:53 +02:00
// @include clearFlow;
2017-08-22 16:50:09 +02:00
// }
//
// @example css - CSS Output
// .element::after {
// content: "";
// clear: both;
// display: table;
// }
2017-09-18 16:58:53 +02:00
@mixin clearFlow {
2017-08-22 16:50:09 +02:00
&::after {
content: "";
clear: both;
display: table;
}
}