下面四种定位是脱离文档流的绝对定位
position: absolute;
left:20px;
right:20px;
top:20px;
bottom:20px;
其起始位置是包含绝对定位元素的父元素,且其父元素必须设置为
position: relative;
转载于:https://my.oschina.net/lantianbaiyun/blog/496290
下面四种定位是脱离文档流的绝对定位
position: absolute;
left:20px;
right:20px;
top:20px;
bottom:20px;
其起始位置是包含绝对定位元素的父元素,且其父元素必须设置为
position: relative;
转载于:https://my.oschina.net/lantianbaiyun/blog/496290