当除此以外,浮动与绝对元素相似,原先的块盒会完全忽略浮动和AP元素。
But other than that, floats are similar to absolute elements, in that ordinary block boxes totally ignore both floats and AP elements.
请注意确认,浮动的屏幕开始点是由它所嵌套的位置决定的,之后它只是在容器盒上展开,就像绝对元素一项。
Sure, the float's screen starting point is determined by its nested location, but after that it just drapes over the containing box, as do absolute elements.
我们在这里使用绝对定位,使这些 UL 元素脱离页面流,这样它们的高度就不会添加到包含它们的元素的高度中。
We use absolute positioning here to take these UL elements out of the flow of the page so that their height is not added to the height of the containing elements.
If the element of surprise is to become absolutely central and paramount in the reading process, the gap has to get bigger.
如果“惊讶“元素在阅读过程中是,绝对中心,至高无上的,那么这个间隙必须会更大。
应用推荐