Home  >  Article  >  Web Front-end  >  css清除浮动最佳实践_html/css_WEB-ITnose

css清除浮动最佳实践_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:55:291120browse

css清除浮动最佳实践

.clearfix:after {content:''; display:table; clear:both;}

.clearfix{*zoom:1;}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn