ant-design/components/style/mixins/clearfix.less

17 lines
337 B
Plaintext
Raw Normal View History

2015-06-09 18:22:52 +08:00
// 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;
2015-06-09 18:22:52 +08:00
clear: both;
content: '';
2015-06-09 18:22:52 +08:00
}
2017-01-11 21:45:09 +08:00
}