📌  相关文章
📜  如何将元素放在前面 - CSS 代码示例

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

代码示例1
/* You must use the z-index property */

.element1 {
    z-index: 2;
}

.element2 {
    z-index: 1;
}

/* all elements with the element1 class will be in front of elements with element2 class */