Open xxleyi opened 4 years ago
In normal page flow, position attribute default to static. CSS Positioned means not static.
关于 Positioned Element,有几个点需要注意:
z-index
In normal page flow, position attribute default to static. CSS Positioned means not static.
关于 Positioned Element,有几个点需要注意:
z-index
只有在这类元素下才有效(这么说是简化了事实,实践起来也比较好用,但真实的情况的确要复杂许多:Understanding CSS z-index - CSS: Cascading Style Sheets | MDN )