gpt4 book ai didi

css - Z-Index 不适用于我的 Magento 主题

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

我的网页上的 z-index 有问题,我需要将购物按钮移动到顶部 -100 像素,但是当我尝试它时,按钮松了,操作不再起作用,我尝试使用 z-index: 99999 但不是我也工作,我需要一些帮助!这是我的页面链接 limitx.panamerik.net

----图像-----

这是真实的图像:

enter image description here

我需要做这个:

enter image description here

最佳答案

您在负数中使用最高值,这意味着可能存在以下问题:

  1. 父 div 设置为 overflow:hidden; 并且不显示该元素,即隐藏位于父 div 后面的元素。 (从父级移除overflow:hidden)

  2. z-index 值不起作用?您没有明确声明该职位。 (设置position:relative或absolute)

关于css - Z-Index 不适用于我的 Magento 主题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27492831/

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