hackertours-theme/assets/sass/components/clearfix/_clearfix.scss

17 lines
303 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 {
&::before {
content: '';
display: table;
}
&::after {
content: '';
display: table;
clear: both;
}
}