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

16 lines
233 B
Plaintext
Raw Normal View History

2015-06-09 18:22:52 +08:00
// mixins for clearfix
// ------------------------
.clearfix() {
zoom: 1;
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
}