gpt4 book ai didi

html - 在内联 block 的 div 上使用 z-index

转载 作者:行者123 更新时间:2023-11-28 15:08:03 24 4
gpt4 key购买 nike

enter image description here

图片引用代码如下: https://jsfiddle.net/u3ouar6d/11/

如何制作 enter image description here CD 的复选标记出现在垂直线的顶部,就像 AB?

我试过将 z-index 放在 box_leftbox_mid 上,但似乎不起作用。有什么想法吗?

最佳答案

z-index 仅在定位元素时适用。尝试添加:

.bullet_right,
.bullet_left {
position: relative;
}

https://jsfiddle.net/u3ouar6d/14/

关于html - 在内联 block 的 div 上使用 z-index,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49015579/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com