mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 00:29:12 +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;
|
||
|
}
|
||
|
}
|