简体   繁体   English

如何更改 uk-button-text 下划线颜色

[英]How to change a uk-button-text underline color

I need to change a UIkit button-text color and my code looks like this right now:我需要更改 UIkit 按钮文本颜色,我的代码现在看起来像这样:

 .container-resultados-busca .escolha-resultado-pesquisa:hover { color: rgba(154, 217, 163, 1); }
 <button class="uk-button uk-button-text escolha-resultado-pesquisa">RESULTADOS DA PESQUISA</button>

The text button changes the color but the underscore doesn't.文本按钮会改变颜色,但下划线不会。 If anyone know how to fix this it would help me a lot.如果有人知道如何解决这个问题,那将对我有很大帮助。

.escolha-resultado-pesquisa:hover {
    background-color: rgba(154, 217, 163, 1);
}

I do not see a reference for the first container, so this should work.我没有看到第一个容器的参考,所以这应该可以。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM