This article brings the content is about the CSS in the positioning (position) four properties of the introduction, there is a certain reference value, the need for friends can refer to, I hope to help you.
CSS Position Properties
There are a total of four attributes:
Static
The default value, which is normally the property, is usually not written.
Relative
Offsets the elements, using Top,right,left,bottom to offset them, using z-index to separate levels.
The relative is offset on its original basis. That is, relative to their own positioning .
Absolute
Positioned relative to the body or relative to the parent element that you have recently positioned .
fixed
Fixed positioning is specified to always be positioned in the upper left of the browser's window. No matter how the mouse rolls, follow the top left of the browser window as you move. Like a lot of official website navigation bar is used fixed positioning, let it always feel at the top of the peak of loneliness.
Note: These three positioning will be out of the document flow, the use of the appropriate!