📜  css absolute in absolute - CSS 代码示例

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

代码示例2
#my-parent {position: absolute}
#my-parent .my-wrapper {position: relative}        /* Since you've added the wrapper in HTML */
#my-parent .my-wrapper .my-child {position: absolute}  /* Now you can play with it */