方法一: div { height:10px; overflow:hidden; } 方法二: div { height:10px; font-size:0; } 转载于:https://blog.51cto.com/jiaguo/251597