Positioning and flow independent of document elements
- absolute
From the original position to locate
The relative positioning of the nearest parent to locate, if not, then the relative positioning of the document.
- relative
Retain the original position to position
Their original position relative positioning
- fixed
- The relative positioning of the browser window is fixed
- sticky viscous positioning
It acts like a relative; when the page is scrolled beyond the target area, it behaves like a fixed
You must specify top, right, one of the bottom, or left, four threshold