ant-design/components/style/mixins/clearfix.less
2020-03-04 19:27:29 +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: '';
}
}