gpt4 book ai didi

jquery - 在下一个 div 下使用 webKit 转换 appeat 的图像

转载 作者:太空宇宙 更新时间:2023-11-04 11:47:01 25 4
gpt4 key购买 nike

我正在尝试解决图片中显示的这个问题以进行说明。我有一个带有 webkit 转换的小缩略图。当我悬停时,尺寸变大。如果我使用 Accordion ,部分放大的图像出现在 Accordion div 下。我试过 z-index,但没有用。对于可能有助于解决问题的标记属性或 jquery 函数的任何想法,我将不胜感激。

谢谢迈克

enter image description here

最佳答案

z-index 属性只影响位置值不是静态(默认)的元素。尝试将 position: relative 添加到缩略图元素。

.smallImages {
position: relative;
z-index: 1;
}

关于jquery - 在下一个 div 下使用 webKit 转换 appeat 的图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30924124/

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