gpt4 book ai didi

html - 我怎样才能在 div 后面画一条线而不显示在 css 中悬停?

转载 作者:行者123 更新时间:2023-11-28 16:25:35 29 4
gpt4 key购买 nike

这是正常状态,线在div后面

enter image description here

这是悬停状态,线条出现了

enter image description here

最佳答案

您的 .listing:hover 上具有背景透明度

下面css中的0.17表示不透明度为17%;将其更改为 1,它将不透明。不过,您可能希望将实际的悬停颜色更改为更浅的颜色。

#timeline .listing:hover {
cursor: pointer;
border: 1px solid #9fa3aa;
background: rgba(217, 217, 217, 0.17);
}

关于html - 我怎样才能在 div 后面画一条线而不显示在 css 中悬停?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45394618/

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