.clearfix:after{ clear: both; content: ""; display: block; height: 0; overflow: hidden;}
有的地方把overflow: hidden;换成了visibility:hidden;但是我换了但是没有效果。