position

relativeab

  即便偏移,位置还在。实质就是靠近最近的元素偏移,不分定位!

 

absoulte

 偏移了,位置就没了。靠最近的元素是relative/absolute 定位的进行偏移。

相关文章
相关标签/搜索