猛点这里返回我的博客

法则三:同辈元素定位方式不同时,动态定位居上。

.div1{position.relative}
.div2{position.static}
.div1{position.static}
.div2{position:absolute}