未知偏移量。在最新的Chrome,FF,IE
中请解释一下,顶部偏移(1em)是什么?
#a {
border:1px solid blue;
}
#b {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex; /* inline-table too */
border:1px solid red;
width:50px;
height:50px;
}
#b:after { /* bootstrap clearfix */
display:table;
content:'';
}

<div id="a"><div id="b"></div></div>
&#13;
类似的问题:Why inline-flex element with clearfix has a weird white space?