hackertours-theme/assets/sass/components/clearfix/_clearfix.scss
2025-09-18 10:33:40 +02:00

18 lines
309 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;
}
}