mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 07:39:36 +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;
|
||
|
}
|
||
|
}
|