📌  相关文章
📜  相对位置有什么作用? - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:20.376000             🧑  作者: Mango

代码示例1
position: relative places an element relative to its current position
without changing the layout around it
whereas position: absolute places an element relative to its parent's
position and changing the layout around it.