mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +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;
|
||
|
}
|
||
|
}
|