Display mode of the label:

<! A: the label has three display modes: a:block B :inline-block C :inline two: three display modes :block 1. 3. If the block level element has no width set,name inherits the width of inline-block 1 from the parent box. You can set the width and height to inline. 1. A row occupies more than 2. Width and height cannot be set -->Copy the code

Positioning characteristics

<! A: the characteristics of static positioning: in fact, static positioning has no characteristics, is the same as the standard flow, two: the characteristics of fixed positioning: 1. Can achieve mode conversion, has the characteristics of in-line blocks 2. Will deviate from the standard flow 3. Will be fixed in a certain position according to the browser window position, does not scroll with the content 3. Can implement pattern conversion, has the characteristics of inline blocks. 2. Will leave the standard flow. 3. If the parent of an absolutely positioned element has a position (fixed, absolute, relative), the nearest positioned parent element is referenced to the four characteristics of relative positioning (you can use edge offset) 1. Mode conversion will not be realized. 2. It will not deviate from the standard flow. 3. The cheap reference is the place where you first appear -->Copy the code