Web front-end 2019 interview summary 4

1, span tag width and height, respectively, how much?
 
 
First block-level element not span, width and height are not supported, but the style has a float: left; span such that it becomes a high-wide block elements support, height: 100%; that is, 200, the width of the content distraction.
But the content i is the absolute positioning, from the document flow, so the parent does not occupy space, so the span of width = 0

Guess you like

Origin www.cnblogs.com/jun-qi/p/11228128.html