mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +08:00
16 lines
233 B
Plaintext
16 lines
233 B
Plaintext
|
// mixins for clearfix
|
||
|
// ------------------------
|
||
|
.clearfix() {
|
||
|
zoom: 1;
|
||
|
&:before,
|
||
|
&:after {
|
||
|
content: " ";
|
||
|
display: table;
|
||
|
}
|
||
|
&:after {
|
||
|
clear: both;
|
||
|
visibility: hidden;
|
||
|
font-size: 0;
|
||
|
height: 0;
|
||
|
}
|
||
|
}
|