hackertours-theme/assets/sass/components/clearfix/_clearfix.scss
2025-04-16 08:36:45 +02:00

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;
}
}