国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Frage zur Verwendung von Overflow: Hidden zum L?schen von Floats
世界只因有你
世界只因有你 2017-05-16 13:36:43
0
1
1051

Normalerweise kann das Festlegen von overflow:hidden; auf das übergeordnete Element des Floats den Float l?schen. Ich habe jedoch festgestellt, dass das Festlegen von overflow:hidden auf den Body den Float nicht l?schen kann Die Leute sagen, dass Body nicht zum gew?hnlichen Stream geh?rt, also ungültig ist. Kann es jemand erkl?ren?

Vielen Dank:

CRIMXUm ein Wort von Wang Dalu zu leihen:

Menschen wie du sind entweder gro?e G?tter oder sie sind auf dem Weg, gro?e G?tter zu werden.

世界只因有你
世界只因有你

Antworte allen(1)
為情所困

這是因為并沒有產(chǎn)生新的 BFC

產(chǎn)生新 BFC 的一個條件:

Block-level, non-replaced elements in normal flow when 'overflow' does not compute to 'visible' (except if the 'overflow' property's value has been propagated to the viewport).

為什么對 <body> 設(shè)置 overflow 會擴散到 viewport:

UAs must apply the 'overflow' property set on the root element to the viewport. When the root element is an HTML "HTML" element or an XHTML "html" element, and that element has an HTML "BODY" element or an XHTML "body" element as a child, user agents must instead apply the 'overflow' property from the first such child element to the viewport, if the value on the root element is 'visible'. The 'visible' value when used for the viewport must be interpreted as 'auto'. The element from which the value is propagated must have a used value for 'overflow' of 'visible'.

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage