gpt4 book ai didi

css - 在主题滚轮中单击按钮后如何去除阴影效果

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

我知道这可能是个愚蠢的问题。我一直在尝试删除单击 ThemeRoller 中的任何按钮一段时间后出现的阴影。数据主题滚轮中没有提供更改颜色或删除颜色的选项。

谁能帮我解决这个问题。

谢谢

编辑 1好吧,在研究了 css 之后,这对我有用

/* Focus buttons and text inputs with div wrap */
.ui-page-theme-c .ui-focus,
html .ui-bar-c .ui-focus,
html .ui-body-c .ui-focus,
html body .ui-group-theme-c .ui-focus,
html head + body .ui-btn-c.ui-focus,
html head + body .ui-body-c.ui-focus {
-webkit-box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
-moz-box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
}

将阴影设置为 0px 而不是默认的 12px。

注意:您必须在各自的主题中执行此操作,就像我的是 data-theme-c

感谢分享答案的人

最佳答案

那么你可以尝试以下样式:

button:active{
box-shadow: none !important;
}

如果问题与 box-shadow 无关,请尝试 outline。

关于css - 在主题滚轮中单击按钮后如何去除阴影效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23382108/

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