ant-design-blazor/components/style/mixins/clearfix.less
2020-03-09 00:09:32 +08:00

16 lines
336 B
Plaintext

// mixins for clearfix
// ------------------------
.clearfix() {
// https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229
&::before {
display: table;
content: '';
}
&::after {
// https://github.com/ant-design/ant-design/issues/21864
display: table;
clear: both;
content: '';
}
}