18 lines
314 B
SCSS
18 lines
314 B
SCSS
// Clearfix
|
|
//
|
|
// Allows the bottom of an element to extend to the bottom of all floated child
|
|
// elements. See http://nicolasgallagher.com/micro-clearfix-hack/
|
|
|
|
.clearfix,
|
|
%clearfix {
|
|
&::before {
|
|
content: '';
|
|
display: table;
|
|
}
|
|
|
|
&::after {
|
|
content: '';
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
}
|