css parent element is provided min-height: 100%, the sub-element is set height: 100% void

The layer nearest to the parent element when using a min-height: 100%. The results under the premise of sub-elements without departing from the document stream, the sub-element is set to 100%, the result is a child of height: 0; with a minimum height of the parent sub-elements inside the box can not inherit attributes ~ Height

Guess you like

Origin www.cnblogs.com/Mickey697/p/11481448.html