gpt4 book ai didi

html - 使用 css id 为按钮设置悬停背景颜色

转载 作者:太空宇宙 更新时间:2023-11-04 02:03:16 24 4
gpt4 key购买 nike

你好,我正在尝试使用它的 id 更改我页面上按钮悬停时的背景颜色,我已经尝试使用 id

#optinforms-form5-button:hover{
background-color: white;
color: black; /* SET COLOR IN BLACK */
}

我也试过

input[type="submit"]:hover {
background-color: white;
color: black;
}

但似乎没有任何效果,这是按钮的屏幕截图以及指向该按钮所在页面的链接

enter image description here

在此页面` http://theclosingcode.com/home/

请有人帮忙`

最佳答案

#optinforms-form5-button:hover {
background: white!important;
color: black!important;
}

关于html - 使用 css id 为按钮设置悬停背景颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41365190/

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