Skip to content

Instantly share code, notes, and snippets.

@yijian166
Last active August 29, 2015 14:01
Show Gist options
  • Save yijian166/319a5ff5387091875bad to your computer and use it in GitHub Desktop.
Save yijian166/319a5ff5387091875bad to your computer and use it in GitHub Desktop.
清除浮动——bootstrap
.clearfix {
*zoom: 1;
&:before,
&:after {
display: table;
content: "";
}
&:after {
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment