最近在看css规范,在浮动这一章节有这一段不是很理解,求大神指教
But in CSS 2.1, if, within the block formatting context, there is an in-flow negative vertical margin such that the float's position is above the position it would be at were all such negative margins set to zero, the position of the float is undefined.
链接:https://www.w3.org/TR/CSS2/vi...
https://juejin.cn/post/694135...
这篇博文说的很详细,推荐看一下