website/assets/sass/bourbon/addons/_clearfix.scss

19 lines
292 B
SCSS
Raw Normal View History

2015-08-30 12:34:43 -04:00
// The clearfix mixin provides an easy way to contain floats
//
// Example usage:
// .wrapper {
// @include clearfix;
// }
@mixin clearfix {
&::after {
clear: both;
content: "";
display: table;
}
}
// Acknowledgements:
// Thierry Koblentz, cssmojo
// http://goo.gl/AQWvyH