1. A total of four positioning methods
- static , the default property of this property, it does not affect the label position after setting the front, back, left and right values.
3 absolute , positioned relative to the container, front, back, left and right. If the parent container tab does not add this attribute or absolute attribute, it is relative to the entire html.
After adding the position: relativ\ absolute\fix three properties to the CSS of the parent container, the relative movement of the label will move forward, backward, left and right according to the border of the container where it is located.
The parent container does not add anything or adds staic, the label is all located in html
4 fixed fixed on the screen guide position, does not change the position with the scroll bar