position定位有四种:static,relative,absolute,fixed.
1.static,默认定位,忽略z-index,top,left,right,bottom
2.relative,相对定位,元素偏离,保留空间,可通过z-index,top,left,right,bottom定位
3.absolute,绝对定位,脱离文档流,会覆盖其他元素,相对于最近的“定位”祖先元素定位。可通过z-index,top,left,right,bottom定位
4.fixed,固定定位,通过浏览器窗口定位.